Re: HOWTO Invoke an action

Philip Luppens <[email protected]>
Newsgroups gmane.comp.java.open-symphony.webwork
Message-ID <25112906.1147257958856.JavaMail.os-j2ee@opensymphony01.managed.contegix.com>
I guess that's because you're getting a different context (Toby's example was using the same action). Another solution might be to use the scope interceptor and passing the forward action by getters and setters. Or just provide an interceptor that redirects to a login page with a redirect parameter, and a redirect parameter setter in your login action. 

Personally, I'm using a simple interceptor that checks the request/cookie/.. for username and password parameters, and invokes my login action when these parameters are found before the other action is invoked.
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=28679&messageID=58586#58586

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.