This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes BEA/Weblogic and the fly likes Login and redirect Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Login and redirect" Watch "Login and redirect" New topic
Author

Login and redirect

Kevin manoj
Ranch Hand

Joined: Jul 19, 2002
Posts: 36
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

Joined: Jan 10, 2002
Posts: 63208
    
  69

Please check your email for a message from me concerning your display name.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
Have you checked out Aspose?
 
subject: Login and redirect
 
It's not a secret anymore!