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


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.