Is it possible to automatically clear the "work" directory in Tomcat which contains the Java source files for JSP pages?
Created May 4, 2012
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.