Correct, that is the only action that needs cookie information.

Is there some way to configure this via annotations/Convention plugin?

 
Norris Shelton
Software Engineer
Sun Certified Java 1.1 Programmer
Shelton Consulting, LLC
ICQ# 26487421
AIM NorrisEShelton
YIM norrisshelton




________________________________
From: Dave Newton <newton.d...@yahoo.com>
To: Struts Users Mailing List <user@struts.apache.org>
Sent: Monday, February 9, 2009 9:27:02 PM
Subject: Re: Cookie Intercepter configuration

Norris Shelton wrote:
> Struts 2.1.6 on Glassfish 9.1_02
> 
> I am trying to configure the cookie intercepter, but it looks like I am 
> missing something.
> 
> I have the following in my struts.xml:
>         <default-interceptor-ref name="paramsPrepareParamsStack"/>
>         <action name="/soldier/view" 
> class="mil.army.usaac.conap.soldier.ViewAction">
>             <interceptor-ref name="cookie">
>                 <param name="cookiesName">*</param>
>                 <param name="cookiesValue">*</param>
>             </interceptor-ref>
>         </action>

Also be aware that you've configured *only* the "cookie" interceptor for that 
particular action--that may be what you intended.

Dave


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


      

Reply via email to