title: How to tackle double submit form?
body: <p>How to handle a situation where user might accidentally click submit button more than one time? If it happens then two rows will be generated in table. How to avoid it.
   I am working in JSP.</p>
  
  <p>Also want to avoid <code>back</code> button and <code>refresh</code> page which cause to create a problem of double entry in database.</p>