struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Collings <jlistn...@gmail.com>
Subject Re: Interceptor doesn't forward
Date Thu, 10 Sep 2009 18:44:52 GMT
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 <mitch@claborn.net> wrote:
> 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 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
>> tried specifying a global-result in the struts.xml in the package but
>> no dice. It still doesn't send the user to the welcome page, instead
>> it prompts for userid/password which is not at all what I had in mind.
>>
>> Anybody got a clue regarding this?  A friend says it is related to
>> global forwards.
>>
>>
>> Jim C.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message