[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Serving dynamically generated JSPs

mattgalvin do-not-reply at jboss.com
Thu Jul 27 17:12:35 EDT 2006

We have an appliacation that needs to dynamically generate JSPs and make them available for our customers to access.  Can someone point me to how I can serve a jsp that is stored say in a database to an end user?

Right now, we've deployed our application as an exploded war (well, actually an exploded ear since ejbs are a part of the app).  We use a servlet with an id parameter to reference the jsp that needs to be served.  The servlet currently loads that jsp from the database and writes it to a temporary file on disk within the exploded war.  It then redirects to that termporary jsp file.

For several reasons, we need to stop doing it this way.  The basic reason is  that we need to deploy our application as an archive, not exploded.  As such, we can no longer write the temporary file.  Any suggestions on how to serve this programmatically generated jsp without writing the file to disk first?


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961434#3961434

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961434

More information about the jboss-user mailing list