title: How to Return to Previous page that was request by Post Form Submitting after Login?
body: <p>I want to redirect to the previous page from Log In page after user logged in. The problem is the previous JSP page was requested by form submitting(with Post method) and the previous JSP need the data submitted to do some logic. What's the best way to return to previous page without missing the data that has submitted by Post method? Thanks in advance!</p>
  
  <pre>
  a.jsp(post form submit) ---> b.jsp (click login button) ---> login.jsp (return to previous)
                                             |                       |
                                             +-----------------------+
  </pre>