jsp - Reloading JSTL Tag files in Tomcat development mode -
the application inherited defines .tag files - ie jstl tags written in jsp , other jstl tags. possible tomcat pick on changes .tag files , recompile/reload them without restart, in same manner of "development" mode jsps?
edit should have noted context marked "reloadable" in tomcat, , i'm hot-deploying class files , jsps. it's not picking on .tag files.
"development" mode jsps applies tag files ... unless tag files being packaged in jar file (e.g. in /meta-inf/tags/
of jar file in /web-inf/lib
).
if tag files being deployed jsps (e.g. in /web-inf/tags/
) checked modification , reloaded on each access if "development" mode true
. shouldn't have set explicitly it's true default in tomcat 5.5/6.
if check $catalina_base/conf/web.xml
, "development" isn't explicitly set false
you're still getting issues reload of .tag files (assuming these aren't jar-packaged) try turning off tag pools (for jasper, jspservlet
):
<init-param> <param-name>enablepooling</param-name> <param-value>false</param-value> </init-param>
... shouldn't necessary.
Comments
Post a Comment