Awesome Filip - #1 is just what I've been looking for. I'm having a couple of issues getting it working though:
1. I had to add the following on line 16 to get my JSPs to compile: <fileset dir="${webapp.path}/WEB-INF/lib"> <include name="*.jar"/> </fileset> 2. A bunch of my JSP pages are at WEB-INF/pages and I get the following error because of this: file:C:/Source/webgeneral/tomcat-precompile-jsp.xml:81: C:\tools\jakarta-tomcat-4.1.27\webapps\tellu ride\WEB-INF\src\WEB-INF\org\apache\jsp not found. Here's line 81: <move todir="${dir-path}"> <fileset dir="${dir-path}/org/apache/jsp"> <include name="*.*"/> </fileset> </move> Is there a way to get around this? There's no files in the WEB-INF directory. Thanks, Matt -----Original Message----- From: Filip Hanik [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 07, 2003 2:58 PM To: Tomcat Users List Subject: Re: pre compile and deploy - ? two ways: 1. compile it into the tomcat work directory (expanded wars only) (this option allows you to change JSPs on the fly) http://cvs.apache.org/~fhanik/precompile.html 2. pre compile it according tomcat docs, see docs (this option precompiles jsps into servlets, and you have define them in web.xml) Filip ----- Original Message ----- From: "Mufaddal Khumri" <[EMAIL PROTECTED]> To: "Tomcat List" <[EMAIL PROTECTED]> Sent: Tuesday, October 07, 2003 1:29 AM Subject: pre compile and deploy - ? Hi, I have a web app and am running it under Tomcat 4.1.18. This might be a very common issue that I am facing. Basically the first time a .jsp page gets hit .. it gets compiled into a .class file. This happens for every .jsp file in the webapp. Is there a way that I can tell tomcat to compile the .jsps in my webapp without anybody having to access the .jsp page ? Thanks. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]