[Logo]
Forums Register Login
Determining where you came from in FORM based login
Hi,
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 JSP or Javascript rather than using a filter?

Many thanks.
The ServletRequest object has a method that will allow you to determine what page your request came from: getRemoteAddr.
Poop goes in a willow feeder. Wipe with this tiny ad:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss


This thread has been viewed 848 times.

All times above are in ranch (not your local) time.
The current ranch time is
Jul 20, 2018 10:34:34.