我想将更改部署到Jetty,并能够在下一个请求中看到新结果,而无需使用所有网络应用重启Jetty。
在官方JSP config documentation中,它被描述为:
如果development = true,则对每个请求进行重新编译检查。
以下是来自我的网络应用程序的web.xml
的JSP配置
<servlet id="jsp">
<servlet-name>jsp</servlet-name>
<servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
<init-param>
<param-name>fork</param-name>
<param-value>false</param-value>
</init-param>
<init-param>
<param-name>xpoweredBy</param-name>
<param-value>false</param-value>
</init-param>
<init-param>
<param-name>trimSpaces</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>development</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>modificationTestInterval</param-name>
<param-value>1</param-value>
</init-param>
<init-param>
<param-name>checkInterval</param-name>
<param-value>0</param-value>
</init-param>
<init-param>
<param-name>reload-interval</param-name>
<param-value>-1</param-value>
</init-param>
<load-on-startup>0</load-on-startup>
<init-param>
<param-name>compilerSourceVM</param-name>
<param-value>1.7</param-value>
</init-param>
<init-param>
<param-name>compilerTargetVM</param-name>
<param-value>1.7</param-value>
</init-param>
</servlet>
不幸的是,这对我不起作用。那有什么不对?
Linux,jetty-distribution-9.1.5.v20140505(Zimbra 8.6.0_GA_1153)