Hi
I am using tomcat 6.
I compiled my JSPs (using tomcat’s org.apache.jasper.JspC) and located them
at the same place as all my classes in the WAR (WEB-INF/classes).
When running tomcat and browsing to some JSP files, I found out the tomcat
translate the JSPs to servlets and compile them again under the “work”
directory.
What is the reason it doesn’t use the compiled JSP and recompile the JSP
from scratch?
What should be done to use precompiled JSP in tomcat? (I followed the tomcat
instructions)

Thanks in Advance,
Moti

My JSP seetings in the web.xml looks like that:
<servlet-name>JspServlet</servlet-name>
      <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
      <init-param>
         <param-name>development</param-name>
         <param-value>false</param-value>
      </init-param>
      <init-param>
         <param-name>fork</param-name>
         <param-value>false</param-value>
      </init-param>
      <init-param>
         <param-name>reloading</param-name>s
         <param-value>false</param-value>
      </init-param>      
      <init-param>
         <param-name>classpath</param-name>
      <init-param>
         <param-name>xpoweredBy</param-name>
         <param-value>false</param-value>
      </init-param>
      <init-param>
         <param-name>checkInterval</param-name>
         <param-value>false</param-value>
      </init-param>
      <init-param>
         <param-name>classdebuginfo</param-name>
         <param-value>true</param-value>
      </init-param>
      <load-on-startup>3</load-on-startup>
   </servlet>



-- 
View this message in context: 
http://www.nabble.com/Using-precompiled-JSPs-tp21124710p21124710.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to