Win a copy of Java by Comparison (eBook) this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to Return to Previous page that was request by Post Form Submitting after Login?  RSS feed

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!