wood burning stoves 2.0*
The moose likes Other Application Frameworks and the fly likes how to redirect to current page after login in SEAM? 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 » Other Application Frameworks
Bookmark "how to redirect to current page after login in SEAM?" Watch "how to redirect to current page after login in SEAM?" New topic
Author

how to redirect to current page after login in SEAM?

Anjali Aggarwal
Greenhorn

Joined: Aug 06, 2011
Posts: 6
Hi,

How should i redirect to the current page after login authentication in SEAM?

I have already added the following code to the components.xml :

<event type="org.jboss.seam.security.notLoggedIn">
<action execute="#{redirect.captureCurrentView}"/>
</event>

<event type="org.jboss.seam.security.loginSuccessful">
<action execute="#{redirect.returnToCapturedView}"/>
</event>

but it doesn't seem to work. Any other way to solve this issue?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to redirect to current page after login in SEAM?
 
Similar Threads
Struts 2.1 Need two different success results
jsf and jstl
Seam and the JSF Lifecycle
please help me spring mvc
Interceptor messes up action class in Struts2