Abhimanyu Koul wrote:
Hi!
I want to set a customized response for every action. ( Actually, I want
to set the header to include cache control for every response) I want it
to be unanimous for all pages. So, can I set it in RequestProcessor or
ActionServlet and how. Please reply asap.

Just add nocache="true" to the <controller> element in your struts-config.xml. From the documentation in the DTD:

    nocache  Set to "true" if you want the controller
             to add HTTP headers for defeating caching
             to every response from this module.
             [default: false]

L.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to