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.sourceforge.net/javawebparts/jwp_v.9_pre-alpha_src.zip?download It shouldn't take very much hacking at all to get it to do exactly what you want I suspect. I *think* you can do what you want by manipulating cache headers properly only, but even if it requires a bit more logic than that, this filter should serve as a good template, especially since it gives you a little more control over what URIs will trigger it than an ordinary filter will, and you may need that control. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Thu, September 15, 2005 3:22 pm, James Mitchell said: > 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 Source Evangelist > Consulting / Mentoring / Freelance > EdgeTech, Inc. > http://www.edgetechservices.net/ > 678.910.8017 > AIM: jmitchtx > Yahoo: jmitchtx > MSN: [EMAIL PROTECTED] > Skype: callto://jmitchtx > > > > > > On Sep 15, 2005, at 11:42 AM, Yaakov Chaikin wrote: > >> 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. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]