We use a setup to pre-compile jsps under Tomcat using the info found at http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jasper-howto.html
Ben -----Original Message----- From: bachoo jahnkar [mailto:[EMAIL PROTECTED] Sent: Thursday, September 01, 2005 4:20 PM To: [email protected] Subject: JSPC task. Hi I am trying to precompile my JSP while deploying using ANT JSPC task. I am running tomcat 4.0.3. <target name="compile" depends="init"> <jspc destDir="${tomcat.home}/webapps/hst/javasrc/precompiledjsp" srcdir="${app.home}/java/htdocs" uriroot="${app.home}/java/htdocs" uribase="." verbose="2" compiler="jasper" classpathref="jspc.classpath"> <include name="**/*.jsp"/> </jspc> I am getting 2 problems. 1)Directory structure is not maintained. all the jsp are converted and palced in the root directory instead of the original directory structure. 2) The name of the converted file is index.java instead of index$jsp.java. Becuase of this even when i precompile, tomcat is again compiling the jsp with appropriate names. Please help Manu --------------------------------- Start your day with Yahoo! - make it your home page ************************************************************** This message, including any attachments, contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, please contact sender immediately by reply e-mail and destroy all copies. You are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. TIAA-CREF ************************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
