Is it possible to deploy from a war file using the deployer, but then have in-place JSP modifications detected and re-compiled
dynamically? I have been unable to achieve this. I have searched the archives, read the doc and find nothing about what the
recommended development setup is for doing active JSP development. I have an ant build, but do not want to run it for every single
JSP tweak I make.
I have played with the jasper settings:
<init-param>
<param-name>development</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>reloading</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>checkInterval</param-name>
<param-value>10</param-value>
</init-param>
Still if I deploy from a war file, it ignores any changes I make under the webapps directory. I even tried deleting the generated
.java and .class files under the work directory, thinking that would force it to recompile. Now way, just an error.
If I just copy the webapp directory under %CATALINA_HOME%/webapps and place the context file under
%CATALINA_HOME%/conf/Catalina/localhost then it will notice any JSP changes and re-compile. But of course all pages that I access
have to be compiled as I hit them. The deployer app seems to be much more efficient at compiling all of the JSP pages, plus I can be
doing something else while it is running.
Thank you in advance - Richard
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)