I am wondering if the following can be done:
- Have a bunch of JSP pages that generate XML documents.
- Use a servlet that takes a single client request and 'redirects' it to those multiple JSP pages, then bundles outputs of those JSP pages as files in a JAR and replies to the client with the contents of the JAR.
My strong suspicion is that this can be done by using servlet 2.3 spec's Wrappers of Response object. Any other suggestions?