Java--Tomcat如何取消jsp緩存。本站提示廣大學習愛好者:(Java--Tomcat如何取消jsp緩存)文章只能為提供參考,不一定能成為您想要的結果。以下是Java--Tomcat如何取消jsp緩存正文
<servlet> <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>development</param-name> <param-value>true</param-value> //這裡將development參數設置為true就可以封閉jsp緩存 </init-param> <load-on-startup>3</load-on-startup> </servlet>