Don's solution is good if you don't want any of your actions to have
interceptors.  My solution was for the cases where most of the actions use
the default stack and only a handful of actions shouldn't have any
interceptors.  Which brings up a more interesting question: Can you have an
empty interceptor stack?  (Not sure if the dtd allows that)  That would be a
better solution than a NullInterceptor.  I've never run into a sitiuation
where I have absolutely no interceptors, so maybe its not that relevant.
Tom

On 1/9/07, Don Brown <[EMAIL PROTECTED]> wrote:

If you don't want any interceptors, don't have your package extend
"struts-default".  There isn't some magical built-in interceptor used
for user packages.

Don

On 1/9/07, Juan Espinosa <[EMAIL PROTECTED]> wrote:
>
>
> 1) Because the url has a parameter called validationCode and i dont have
a
> property in my class with that name.....
> 2) Because i want interceptors run when "I WANT" not when struts want...
>
> May be i must write an interceptor that do nothing and put that
interceptor
> in the action
>
>
> -----Mensaje original-----
> De: Dave Newton [mailto:[EMAIL PROTECTED]
> Enviado el: martes, 09 de enero de 2007 13:45
> Para: Struts Users Mailing List
> Asunto: RE: Action without interceptors
>
> From: Juan Espinosa [mailto:[EMAIL PROTECTED]
> > The seconda action is an action that validate a code passed
> > http://www.mysite.com/test2?validationCode=3
> > I need no intercepto neither parameters interceptor nor model driven
> > interceptor...
>
> Just because you don't *need* one doesn't mean it matters if they're
there.
>
> Why do you explicitly *not* want the interceptors?
>
> Dave
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.432 / Virus Database: 268.16.7/620 - Release Date:
08/01/2007
> 16:12
>
>
> --
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.5.432 / Virus Database: 268.16.7/620 - Release Date:
08/01/2007
> 16:12
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to