jsf2.0 tomcat 修改页面后无法立马看到页面修改效果
MyFaces uses different Facelets caching algorithms than Mojarra and does it more agressively.
You need to set the javax.faces.PROJECT_STAGE
context parameter in web.xml
to Development
to tone it down.
<context-param> <param-name>javax.faces.PROJECT_STAGE</param-name> <param-value>Development</param-value> </context-param>
这样以后就可以修改html页面内容不用重启tomcat了。记载下来供下次使用。
每天进步一点点。