You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Lukasz Lenart <lu...@googlemail.com> on 2008/04/29 22:52:41 UTC
Exclude interceptor
Hi,
Today I've been presenting Struts2 to member of Warsaw JUG and I got such
question:
it is possible to exclude interceptor for given action?
As I know no, but maybe I'm wrong. The only way is to define interceptor for
each action and omit for given one.
Regards
--
Lukasz
http://www.linkedin.com/in/lukaszlenart
Re: Exclude interceptor
Posted by Jim Kiley <jh...@summa-tech.com>.
Wow -- thanks for making that point. I think I had known that but hadn't
really seen it or thought about it. Excellent stuff, thank you.
jk
On Tue, Apr 29, 2008 at 5:12 PM, Randy Burgess <RB...@nuvox.com> wrote:
> As soon as you define interceptors at the action level you are excluding
> all
> other interceptors *except* the ones you specify for the action, so in
> this
> way you can exclude interceptors on a per action basis. You could also
> roll
> your own packages with the interceptors you want and exclude them that way
> also.
>
> Regards,
> Randy Burgess
> Sr. Web Applications Developer
> Nuvox Communications
>
>
>
> > From: Lukasz Lenart <lu...@googlemail.com>
> > Reply-To: Struts Users Mailing List <us...@struts.apache.org>
> > Date: Tue, 29 Apr 2008 22:52:41 +0200
> > To: Struts Users Mailing List <us...@struts.apache.org>
> > Subject: Exclude interceptor
> >
> > Hi,
> >
> > Today I've been presenting Struts2 to member of Warsaw JUG and I got
> such
> > question:
> > it is possible to exclude interceptor for given action?
> >
> > As I know no, but maybe I'm wrong. The only way is to define interceptor
> for
> > each action and omit for given one.
> >
> >
> > Regards
> > --
> > Lukasz
> >
> > http://www.linkedin.com/in/lukaszlenart
>
>
>
> This email and any attachments ("Message") may contain legally privileged
> and/or confidential information. If you are not the addressee, or if this
> Message has been addressed to you in error, you are not authorized to read,
> copy, or distribute it, and we ask that you please delete it (including all
> copies) and notify the sender by return email. Delivery of this Message to
> any person other than the intended recipient(s) shall not be deemed a waiver
> of confidentiality and/or a privilege.
>
>
> This email and any attachments ("Message") may contain legally privileged
> and/or confidential information. If you are not the addressee, or if this
> Message has been addressed to you in error, you are not authorized to read,
> copy, or distribute it, and we ask that you please delete it (including all
> copies) and notify the sender by return email. Delivery of this Message to
> any person other than the intended recipient(s) shall not be deemed a waiver
> of confidentiality and/or a privilege.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
--
Jim Kiley
Technical Consultant | Summa
[p] 412.258.3346 [m] 412.445.1729
http://www.summa-tech.com
Re: Exclude interceptor
Posted by Randy Burgess <RB...@nuvox.com>.
As soon as you define interceptors at the action level you are excluding all
other interceptors *except* the ones you specify for the action, so in this
way you can exclude interceptors on a per action basis. You could also roll
your own packages with the interceptors you want and exclude them that way
also.
Regards,
Randy Burgess
Sr. Web Applications Developer
Nuvox Communications
> From: Lukasz Lenart <lu...@googlemail.com>
> Reply-To: Struts Users Mailing List <us...@struts.apache.org>
> Date: Tue, 29 Apr 2008 22:52:41 +0200
> To: Struts Users Mailing List <us...@struts.apache.org>
> Subject: Exclude interceptor
>
> Hi,
>
> Today I've been presenting Struts2 to member of Warsaw JUG and I got such
> question:
> it is possible to exclude interceptor for given action?
>
> As I know no, but maybe I'm wrong. The only way is to define interceptor for
> each action and omit for given one.
>
>
> Regards
> --
> Lukasz
>
> http://www.linkedin.com/in/lukaszlenart
This email and any attachments ("Message") may contain legally privileged and/or confidential information. If you are not the addressee, or if this Message has been addressed to you in error, you are not authorized to read, copy, or distribute it, and we ask that you please delete it (including all copies) and notify the sender by return email. Delivery of this Message to any person other than the intended recipient(s) shall not be deemed a waiver of confidentiality and/or a privilege.
This email and any attachments ("Message") may contain legally privileged and/or confidential information. If you are not the addressee, or if this Message has been addressed to you in error, you are not authorized to read, copy, or distribute it, and we ask that you please delete it (including all copies) and notify the sender by return email. Delivery of this Message to any person other than the intended recipient(s) shall not be deemed a waiver of confidentiality and/or a privilege.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org