You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Jim Frederic <ji...@isogen.com> on 2003/08/26 17:38:19 UTC
Re: Setting the Tapestry no-cache system property
I override the ApplicationServlet and set it in the init() method (based
on a <context-param> in web.xml)
-Jim
Mindaugas Genutis wrote:
>Hello,
>
>I'm trying to set the Tapestry org.apache.tapestry.disable-caching
>property to true for JVM and can't make it work.
>
>My Tomcat runs as a Windows service. It executes the tomcat.exe file and
>there's no way to use the java.exe -D way of doing this.
>
>If I set it in the code in one of my pages:
>
>System.setProperty("org.apache.tapestry.disable-caching", "true");
>
>I'm afraid it's too late, because the Tapestry engine is already running.
>
>Can someone suggest a proper way of initializing Tapestry properties?
>
>Thanks,
>
>
>