struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <davelnew...@gmail.com>
Subject Re: Interceptor cleaning valuestack
Date Sun, 20 Nov 2011 20:04:25 GMT
By using a complete stack in the action's <interceptor-ref> config element,
or by combining stacks as with any interceptor configuration.

http://struts.apache.org/2.x/docs/interceptor-configuration.html

Dave

On Sun, Nov 20, 2011 at 2:59 PM, Srineel Mazumdar <smaz19584@gmail.com>wrote:

> Hi Dave,
> *
> *
> *"In any case, when you define an <interceptor-ref> for a specific action,*
> *you must define *all* of the interceptors for that action"*
> *
> *
> How can this be done ?
>
> Thanks,
> Srineel
>
> On Mon, Nov 21, 2011 at 1:26 AM, Dave Newton <davelnewton@gmail.com>
> wrote:
>
> > On Sun, Nov 20, 2011 at 2:47 PM, Srineel Mazumdar <smaz19584@gmail.com
> > >wrote:
> >
> > > I intend to use only logger1 interceptor.
> > >
> > > I want to enable only one interceptor ie logger1. How can I do so?
> > >
> >
> > By doing what you did.
> >
> > However, as I stated, this means that essentially no other S2
> functionality
> > will be present, including setting form values on the action, validation,
> > workflow, etc.
> >
> > Dave
> >
>

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