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 Servlets and the fly likes Dynamic redirection in struts 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 » Java » Servlets
Reply locked New topic
Author

Dynamic redirection in struts

Ranadhir Nag
Ranch Hand

Joined: Mar 09, 2006
Posts: 138
Reposting in this forum from JSP forum:

We have a listings page which contain links for different actions.Each of those actions would require a user login before proceeding to the respective jsp page.

How do we dynamically pass in the input action/page to the login action.
On successul login,we need to redirect to that particular action/page from where the login action was triggered.

If this is not possible dynamically then we need to define separate actions for login from each of the page which requires a logged-in user.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60765
    
  65

Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Dynamic redirection in struts
 
Similar Threads
check if user has access to a specific page.
interceptors
Include a common resource in all pages
Dynamic redirection in struts
Dynamic redirection in struts