Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
cheng chen
Greenhorn
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)
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!