Re: getLastModified in Struts

2005-09-15 Thread Frank W. Zammetti
Hi Yaahov, This is the kind of thing that a filter would probably be good for. Although I don't think it will do explicitly what you want, have a look at the CacheControlFilter in Java Web Parts: http://javawebparts.sourceforge.net/javadocs/index.html And the source: http://prdownloads.sourcef

Re: getLastModified in Struts

2005-09-15 Thread James Mitchell
The Struts framework does not provide any sort of caching strategy. You could certainly provide your own extension to ActionServlet and roll your own, but such an effort is completely outside of the scope of this framework. Hope that helps. -- James Mitchell Software Engineer / Open Sourc

getLastModified in Struts

2005-09-15 Thread Yaakov Chaikin
Is there a way in Struts to tell a client issuing a conditional GET request not to re-execute the action? In a regular servlet you can just implement logic in the getLastModified method. Is there something similar in Struts? Thanks, Yaakov. ---