title: back button- Confirm form resubmission using jsp, servlet and filter
body: <p>I followed some examples I saw here to write my code but I get a confirm form resubmission when I press the browser back button after logout. I am using two jsp pages, the index page which contains the login form and the welcome page which displays after suuccessful login.
   A login servlet which processes the login data and sets the session atribute and a logout servlet which removes session atribute and invalidate the session.</p>
  
  <p>A filter which checks for session attribute and sets the no-cache...on the browser. all the other aspect works fine but when I press the back button after logout,it displays "confirm form resubmission". please I think am not getting something right. I need help. Thank you.</p>