File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Determining where you came from in FORM based login
Joined: May 12, 2010
Apr 07, 2011 04:49:34
Is there anyway for a FORM login page to be able to determine where it came from?
For example, suppose you wanted to change the behaviour or layout of your FORM login page based on where the request originally came from - is this possible?
And is it possible to do this using
Joined: Dec 06, 2005
Apr 07, 2011 08:17:22
The ServletRequest object has a method that will allow you to determine what page your request came from:
How To Ask Questions On JavaRanch
I agree. Here's the link:
subject: Determining where you came from in FORM based login
redirection on login
Struts2: Dynamically returning to last page shown after an action call from a form submit.
can I have two login page using form-based authentication?
can a fail to a login using BASIC authenticaion redirected to another page?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015