Question about architecture
I have a question about good JSP-architecture: Suppose we have a website with several pages that all have the same HTML-skeleton, they only vary in content. The whole content of each page should be externalized in a XML file.
Do I have to add one JSP-file for each page to the project or is it possible to use one JSP-file as a blueprint for all webpages? At this, a servlet shall parse the XML file and generate a page for each page-node it has found in the XML file.
Is this a reasonable approach and would it be difficult to implement?