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>