Re: JSP Compiling - painted in a corner?

2004-05-26 Thread Illya Kysil
Jason Palmatier wrote: Thank you for your reply. I need the JSPs precompiled for performance and security reasons. Performanace because we don't want the end user to have a bad first impression when attempting to access our application the first time and having to wait for each page to compile

Re: JSP Compiling - painted in a corner?

2004-05-26 Thread Jason Palmatier
Hello Illya, Thank you VERY much for your reply. The fact that Tomcat 5.x includes the directory structure in package statements and 4.x does not makes everything I've been doing much clearer. I need to go back and start from the beginning using Tomcat 5.x and Ant and see if I can get it

Re: JSP Compiling - painted in a corner?

2004-05-25 Thread Illya Kysil
Jason Palmatier wrote: I'm trying to precompile JSPs and have run into some trouble with the mappings. First off I CANNOT use the Ant build method as specified in http://jakarta.apache.org/tomcat/tomcat-5.0-doc/printer/jasper-howto.html#Web%20Application%20Compilation; due to a lack of certain

Re: JSP Compiling - painted in a corner?

2004-05-25 Thread Jason Palmatier
Hello Illya, Thank you for your reply. I need the JSPs precompiled for performance and security reasons. Performanace because we don't want the end user to have a bad first impression when attempting to access our application the first time and having to wait for each page to compile first.

Re: JSP Compiling - painted in a corner?

2004-05-25 Thread QM
On Tue, May 25, 2004 at 09:12:58AM -0700, Jason Palmatier wrote: : Is having the subdirectories in the package : statement the crucial step I need to solve this? Sort of. =) As long as you can: 1/ produce unique .class file names for each compiled JSP (i.e. so /x/here.jsp and /y/here.jsp)

Re: JSP Compiling - painted in a corner?

2004-05-25 Thread Filip Hanik - Dev
it compiles into the tomcat work directory, where Jasper loads the classes from Filip - Original Message - From: Jason Palmatier [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, May 24, 2004 12:51 PM Subject: JSP Compiling - painted in a corner? Hello, I'm trying to precompile

Re: JSP Compiling - painted in a corner?

2004-05-25 Thread Jason Palmatier
Hello QM, Thank you very much for replying. Unfortunately the web.xml excerpt was a copy/paste. The full file is VERY large (4000 lines) so I won't post it here but I'll give you a larger sample. I did notice late yesterday that there are duplicate file names among the subdirectories so I

Re: JSP Compiling - painted in a corner?

2004-05-25 Thread Jason Palmatier
no mapping in web.xml since it compiles into the tomcat work directory, where Jasper loads the classes from Filip - Original Message - From: Jason Palmatier [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, May 24, 2004 12:51 PM Subject: JSP Compiling - painted in a corner

Re: JSP Compiling - painted in a corner?

2004-05-25 Thread QM
On Tue, May 25, 2004 at 09:51:24AM -0700, Jason Palmatier wrote: : Unfortunately the web.xml excerpt was a copy/paste. That's alright -- I realize, I misread it. =) : If I use the Ant : method as described in the docs will it add the : subdirectories to the package statement and create the :

Re: JSP Compiling - painted in a corner?

2004-05-25 Thread Filip Hanik - Dev
: Re: JSP Compiling - painted in a corner? Hello Filip, Thanks for the reply. I had checked your XML file out and thought about using it but was unsure if putting the .class files in the work directory was an okay thing to do for a released product. We may have customers installing our app

Re: JSP Compiling - painted in a corner?

2004-05-25 Thread Jason Palmatier
Okay, I've copied my files to my PC and attempted to run the Ant build using the build.xml given on the Tomcat 5.0 site. It runs for about 2 seconds and spits out this error: C:\apache-ant-1.6.1\bin\build.xml:21: java.lang.VerifyError: (class: org/apache/ xerces/jaxp/DocumentBuilderImpl, method:

JSP Compiling - painted in a corner?

2004-05-24 Thread Jason Palmatier
Hello, I'm trying to precompile JSPs and have run into some trouble with the mappings. First off I CANNOT use the Ant build method as specified in http://jakarta.apache.org/tomcat/tomcat-5.0-doc/printer/jasper-howto.html#Web%20Application%20Compilation; due to a lack of certain UNIX commands on