我想更改 web.xml 中的 checkInterval 设置。
它在我当前的 web.xml 中被注释掉了。我更新了 web.xml dpo 的哪一部分以便它被 tomcat 识别?
所以在 web.xml 中我有:
<!-- checkInterval If development is false and checkInterval is -->
<!-- greater than zero, background compilations are -->
<!-- enabled. checkInterval is the time in seconds -->
<!-- between checks to see if a JSP page (and its -->
<!-- dependent files) needs to be recompiled. [0] -->
如何取消对 checkInterval 参数的注释,以便它被 tomcat 识别?
最佳答案
下面是一个例子。请考虑默认值为 60。
<init-param>
<param-name>checkInterval</param-name>
<param-value>30</param-value>
</init-param>
关于tomcat - 对 web.xml 进行更改,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11014773/