How to Return to Previous page that was request by Post Form Submitting after Login?
posted 5 years ago
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!
a.jsp(post form submit) ---> b.jsp(click login button) ---> login.asp (return to previous: b.jsp)