This is my requirement:

- the user asks for a resource, say A.action
- the controller fires a custom interceptor I to authenticate the user
- user isn't authenticated, so I redirect to L, the login page
- user enters valid credentials
- the controller redirect to the original requested A.action

The problem is that the results of the login action are statically
cablated in struts.xml:

                <result type="tiles" name="success">home</result>
                <result type="tiles" name="failure">login</result>

But I need a new case to redirect dynamically to A.action (I can't
provide statically all cases in my struts.xml).

How can I have this behaviour?

thanks

Gianluca

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to