Cache problem configured in Tomcat4.1.x or later

xiaoxiao2021-03-06  14

If you run the normal WAS40 under Tomcat4.1.x, the contents in the page are cached, and the same content is displayed when the channel is accessed (the first time the server is started), use the following method to resolve: in Tomcat4. 1.X, found that it has added a set of burst cache, and by default, the cache is performed, so the channel content is cached, the solution is as follows: 1, in the Tomcat / conf / web.xml file Add a red part of the code, set the cache for cache org.apache.jasper.servlet.jspservlet logverbositylevel Warning enablepooling False

3 2, delete the Tomcat / Work directory, make Tomcat to re-perform the JSP page compilation

转载请注明原文地址:https://www.9cbs.com/read-50488.html

New Post(0)