Why are my JSP changes are not reflected without restarting Tomcat?

前端 未结 12 1408
忘掉有多难
忘掉有多难 2020-12-02 18:48

I am editing JSP files which are residing directly inside tomcat/webapps/myapp/WEB-INF, but to see the changes, I have to restart the server. As far as I know,

12条回答
  •  一向
    一向 (楼主)
    2020-12-02 19:25

    An even more late answer ...

    Setting "antiResourceLocking" to "true" in the context file may prevent JSP to be reloaded by the Tomcat (Bugzilla 37668).

    This is documented on the Tomcat doc, at the "antiResourceLocking" parameter explanation

提交回复
热议问题