aspose file tools*
The moose likes Struts and the fly likes Returning to The Page Triggering Login Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Returning to The Page Triggering Login " Watch "Returning to The Page Triggering Login " New topic
Author

Returning to The Page Triggering Login

Alec Lee
Ranch Hand

Joined: Jan 28, 2004
Posts: 569
When using declarative security of web container with FORM authentication type, then requesting a protected page will cause my login FORM automatically be displayed by the container. Upon successful login, the container will AUTOMATICALLY return me to the page triggering the login. That is a good feature I want to keep.

But, in Struts, how do we achieve the automatic returning to the triggering page effect?
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

Form-based authentication works the same with or without Struts. You will not need to make any changes.


A good workman is known by his tools.
 
wood burning stoves
 
subject: Returning to The Page Triggering Login