Interceptor doesn't forward

2009-09-10 Thread Jim Collings
I want to send a user to the welcome page if they don't have something set in their session. I have an interceptor that works fine otherwise. It returns either invocation.invoke() OR it returns Action.LOGIN. Problem is that I can't get the LOGIN result to map properly. How is this done? I've

Re: Interceptor doesn't forward

2009-09-10 Thread Lukasz Lenart
2009/9/10 Jim Collings jlistn...@gmail.com: I have an interceptor that works fine otherwise.  It returns either invocation.invoke() OR it returns Action.LOGIN.  Problem is that I Did you create global result named login? Regards -- Lukasz http://www.lenart.org.pl/

Re: Interceptor doesn't forward

2009-09-10 Thread Jim Collings
Yes. On Thu, Sep 10, 2009 at 12:58 PM, Lukasz Lenart lukasz.len...@googlemail.com wrote: 2009/9/10 Jim Collings jlistn...@gmail.com: I have an interceptor that works fine otherwise.  It returns either invocation.invoke() OR it returns Action.LOGIN.  Problem is that I Did you create global

Re: Interceptor doesn't forward

2009-09-10 Thread Mitch Claborn
It sounds like either the original page or the one being redirected to is being controlled by container managed security, configured in web.xml. Mitch Jim Collings wrote: I want to send a user to the welcome page if they don't have something set in their session. I have an interceptor that

Re: Interceptor doesn't forward

2009-09-10 Thread Jim Collings
I think I am getting my syntax wrong for the global result. How do you specify a global result that is an action? Jim C. On Thu, Sep 10, 2009 at 2:27 PM, Mitch Claborn mi...@claborn.net wrote: It sounds like either the original page or the one being redirected to is being controlled by

Re: Interceptor doesn't forward

2009-09-10 Thread Lukasz Lenart
2009/9/10 Jim Collings jlistn...@gmail.com: I think I am getting my syntax wrong for the global result. How do you specify a global result that is an action? User redirectAction http://struts.apache.org/2.x/docs/redirect-action-result.html Regards -- Lukasz http://www.lenart.org.pl/