title: Prevent form resubmit after pressing back button
body: <p>I am in bit of a delicate situation here. In my organization we design stock management systems and it is a web application based on JSP pages and servlets which handles them.</p>
  
  <p>I have been asked to fix a specific problem. We have a JSP page with an HTML form table where there are stock details. When user enters the details manually and submit the form, stock details updated in the database and it works fine. </p>
  
  <p>Problem is this : When the user press the browser's back button, user can come to the previous page where he submitted the details. And when the user submit this, data is saved once more to the database.I need to prevent this behaviour.(Something likeclear and reload the page.)</p>
  
  <p>Things I did so far : clear the browser cache.Code works fine but not the expected result. </p>
  
  <p>Unfortunately I cannot share the code due to company regulations. What I need is a help to prevent this behaviour or a workaround. </p>
  
  <p>Thanks in advance..</p>