This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets forum!
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Returning to The Page Triggering Login
 
Similar Threads
Auto-refresh of webpage
confusion regarding authentication
problem with Invalid direct reference to form login page
not getting responce from Servlet
Redirecting unauthorised users decleartively