This is one of my pet peeves. It is true that you can precompile your JSPs and configure them as servlets and that is a reasonable approach in most circumstances. Having said that, if you have several hundred that you are dynamically updating during development the preference is to use JSPs as they were designed: update as-needed on a running server. The servlet approach is a bit of a hack (IMHO) when the container is perfectly capable of compiling the whole mess on its own with no intervention on your part. Where a compiled JSP goes and what its called is not part of the specification so it would be nice to have the container do that for you.
Here's a link to an ANT script that precompiles for Tomcat. Haven't tried it but at least it avoids the servlet approach and the script looks very simple. http://cvs.apache.org/~fhanik/precompile.html -----Original Message----- From: JD Brennan [mailto:[EMAIL PROTECTED] Sent: Thursday, October 02, 2003 10:24 AM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] Pre compile jsps on jboss server I think the Ant jspc target can generate a web XML fragment that Ant can then substitute into your web.xml automatically. Haven't tried this myself ... yet - just read about it. JD -----Original Message----- From: Balakrishnan, Vijay [mailto:[EMAIL PROTECTED] Sent: Thursday, October 02, 2003 8:29 AM To: '[EMAIL PROTECTED]' Subject: [JBoss-user] Pre compile jsps on jboss server Hi, I tried looking through the archives but found nothing substantial.I want to precompile jsps on the server before deploying them to improve performance.I saw 1 mthod using the web.xml but that would mean putting all my zillions of jsp's under it- a nightmare scenario for maintenance.Is there any other way to do that on the server side.(jspc does not seem to work on the server side). My apologies if this question has been answered before. Thanks, Vijay ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user