Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Remember previous page and redirect to it after login

843844Aug 27 2010 — edited Aug 27 2010
Hello to All
I am facing a little problem. When I am not logged in to my system and when I ask browser to redirect me to some page in my application it takes me to login screen and loads default screen.

Suppose I want to redirect my self to Admin Panel page. My application redirects me to Login page for Login. But afer successfull login I am redirected to say "Welcome" page. Please tell me that how I can avoid it. If I pass the address of my Admin Panel page then I want my application to take me to a page of Admin Panel after successful login rather than taking to default page.

I hope you get my question

Regards
Syed Muhammad Ali Naqvi
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 24 2010
Added on Aug 27 2010
1 comment
110 views