Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
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

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Returning to The Page Triggering Login " Watch "Returning to The Page Triggering Login " New topic

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

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.
Have you tried LearnNowOnline?
subject: Returning to The Page Triggering Login