Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

forward & come back  RSS feed

 
Alex Marks
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In page a.jsp, i check whether user has signed in or not. If user has not signed in, i use the <jsp:forward... /> to forward to login.jsp. After login, how can user come back to a.jsp ? Thank you for your help.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65826
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Remember the url of the original page in the session and redirect to it after the successful login.
 
Alex Marks
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
okie ! let me try it ! Thank you very much for your help !
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!