Re: Interceptor doesn't forward

2009-09-10 Thread Lukasz Lenart
2009/9/10 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? User redirectAction http://struts.apache.org/2.x/docs/redirect-action-result.html Regards -- Lukasz http://www.lenart.org.pl/ http://dailylog.lenart.org

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 wrote: > It sounds like either the original page or the one being redirected to > is being controlled by container managed secu

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 t

Re: Interceptor doesn't forward

2009-09-10 Thread Jim Collings
Yes. On Thu, Sep 10, 2009 at 12:58 PM, Lukasz Lenart wrote: > 2009/9/10 Jim Collings : >> 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 > -- >

Re: Interceptor doesn't forward

2009-09-10 Thread Lukasz Lenart
2009/9/10 Jim Collings : > 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/ http://dailylog.lenart.org.pl/ ---

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 tr