You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by John Sokel <js...@orbitz.com> on 2000/11/14 20:39:27 UTC
JSP Always compile
Need help with my JSPs compiling over and over again. I run the JSP examples that come with tomcat, and when you load the page the first time the JSP compiles and takes a little while to load. Every time after that, it loads the class from the work folder and it is much faster.
However, when I put in my jsp pages, the pages compile every single time. I cannot seem to figure out why. I look at the work folder, and it keeps creating new .java files and recreating the .class file. So my directory looks like:
-----------------.class
-----------------_jsp_0.java
-----------------_jsp_1.java
-----------------_jsp_2.java
A new file is created for each request and recompiled, rather than using the existing class. I can not figure out what is different from my pages and the example pages. Any ideas.
I'm running on RH Linux 6.2 with Apache.
John