I am using Struts1.2 framework.
On logout I call LoginAction which invalidate session.
The problem is browser's back button problem as users information remains.
I have read posts related to this which mentions setting headers in response object like Cache-Control,Expires and Pragma.
But I have lots of
jsp pages, so do I need to include part of setting response header in all jsp pages? Is there any better option to do this at one place?
Also I tried setting "controller" tag in Struts-Config.xml where "noCache" can be specified but there are some static jsp pages for which there is no action written and these are called directly using anchor tag, so facing same back button problem for these pages. Do I need to change calling of static jsp pages?
I want central point to control this, dont want to set response headers on each jsp page. How do I solve this?
Thanks
Deepa