JBY Technologies

JSP Refresh Interval

Tomcat compiles requested files and keeps copies in the work directory for quick access. The setting below can cause Tomcat to keep the existing copy instead of generating a new page.

In the conf/web.xml, this was preventing dynamic pages from refreshing...

<init-param>

<param-name>development</param-name>

<param-value>false</param-value>

</init-param>

<init-param>

<param-name>checkInterval</param-name>

<param-value>120</param-value>

</init-param>

I changed to this:

<init-param>

<param-name>development</param-name>

<param-value>false</param-value>

</init-param>

<init-param>

<param-name>checkInterval</param-name>

<param-value>0</param-value>

</init-param>

Which corrected the problem.

Bookmark and Share

Legal Notices