I have used the code to stop caching which is working fine
response.setHeader("Cache-Control","no-cache");
response.setHeader("Cache-Control","no-store");
response.setDateHeader("Expires", 0); /
response.setHeader("Pragma","no-cache");
But the problem is ...
Whenever a user is logged in to application and presses the back button the browser opens with a message
Warning: Page has Expired
The page you requested was created using information you submitted in a form. This page is no longer available. As a security precaution, Internet Explorer does not automatically resubmit your information for you.
To resubmit your information and view this Web page, click the Refresh button.
how can i allow the user to see all the jsp pages on back button if he has not logged out.