• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Login and redirect

 
Kevin manoj
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am now developing a huge web application by using weblogic workshop. My problem is that when user paste some URL in address bar of browser which can only be accessed by registered user, I need to redirect user to login page. And when login is successful, I need to redirect page to their initial address.

For example, user paste
http://www.sample.com/mypage/makereservation.jsp
I need to redirect user to http://www.sample.com/login.jsp first. When login is successful, I need to redirect user to http://www.sample.com/mypage/makereservation.jsp.

Please advise how to implement this feature?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65123
91
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please check your email for a message from me concerning your display name.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic