leafgray
发贴: 23
积分: 0
|
于 2004-08-13 16:10
在FAQ上有这么一个Q&A:
2.13. I have to restart my application to pick up changes to specifications and templates, how can I avoid this? Start your servlet container with the JVM system parameter org.apache.tapestry.disable-caching set to true, i.e., -Dorg.apache.tapestry.disable-caching=true.
Tapestry will discard cached specifications and templates after each request. You application will run a bit slower, but changes to templates and specifications will show up immediately. This also tests that you are persisting server-side state correctly.
我用tomcat就startup -Dorg........
可还是没效果,也不知道那没对,还是理解的问题..... Tapestry现在的人气好像还不是很高....
努力学习中.......
|