the manual says not precompile should set (development=false), extract web.xml:
<servlet> <servlet-name>jsp</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>xpoweredby</param-name> <param-value>false</param-value> </init-param> <load-on-startup>3</load-on-startup> </servlet>
my problem i'm still having tomcat 8 precompile jsp files, overwriting newer files. example:
login_jsp.class has date 4/5/17 , time 8:30:04
login.jsp has date 4/5/17 , time 8:29:22
the regenerated login_jsp.java , login_jsp.class both have date 4/5/17 , time 8:29:22
what else must have tomcat 8 respect existing precompiled jsp files?
did set checkinterval? if yes, background compiles may work.
https://tomcat.apache.org/tomcat-8.0-doc/jasper-howto.html#configuration
checkinterval - if development false , checkinterval greater zero, background compiles enabled. checkinterval time in seconds between checks see if jsp page (and dependent files) needs recompiled. default 0 seconds.
Comments
Post a Comment