Hi Guys,
I am new here in this community. I still did some stuff with JSP, but now I have a principle questions. Would be nice to receive some feedback...
I wanna build up a website with several JSP pages. But I don't want to place all the content into the JSP page. Well that's a common goal, separating content and structure.
What I am targeting on is referencing specific content-items in a JSP page by a key and language dependent, which can be handled via session scope. For example I have a line like this in a JSP page:
<mytag:include key="level1.sublevel4.intro.text"/>
This should load the targeting content stored in another JSP file (not simple XML) that only stores content items. For example like this:
<content-item key="level1.sublevel4.intro.text">
<language>en</language>
<content>A lot of <html:link href="..">text</html:link>...</content>
</content-item>
I not only wanna use a simple XML file for storing content, because I also wanna use JSP-TagLibs inthere, for example <html:link...> or others.
I also know about the MessageResources concept, but I doesn't think this fits my need, especially not the MessageResources_en_US.properties file idea.
Perhaps there is a very simple standard solution for this, I didn't found until know. Would be nice to receive some feedback. Thanks a lot in advance.
Best regrads from Germany.