Is it possible to automatically clear the "work" directory in Tomcat which contains the Java source files for JSP pages?

Saravanan Jayachandran

Supply the following init parameter to the JspServlet in TOMCAT_HOME/conf/web.xml file

<init-param>
<param-name>keepgenerated</param-name>
<param-value>false</param-value>
</init-param>

Note that this will clear even the most recent Java file for the version of JSP page currently being executed, which may be a useful resource for debugging.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact