struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Pratt" <thechrispr...@gmail.com>
Subject Re: Call a forward or a redirect inside an interceptor.
Date Tue, 09 Sep 2008 16:05:58 GMT
Sure, normally you would set up some <global-results> in your struts.xml
that your interceptor will redirect to then just return the name of the
result from your interceptor without ever calling actionInvocation.invoke().
  (*Chris*)

On Tue, Sep 9, 2008 at 9:05 AM, Ahmed ALAMI <ahmed.alami@c-s.fr> wrote:

> Hello everybody,
> Is there a way using the struts 2 API to forward or redirect to a url
> inside an interceptor instead of making a actionInvocation.invoke().
> Thanks for reply.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message