Andy- the short answer is you don't want user-set parameters to override your static parameters.
btw for 2.1.1 you also need: "actionMappingParams" Which means your stack should be: <interceptor-stack name="paramsPrepareParamsStack"> ....... <interceptor-ref name="params"/> <interceptor-ref name="actionMappingParams"/> <interceptor-ref name="staticParams"/> ... <interceptor-ref name="prepare"/> ... <interceptor-ref name="params"/> <interceptor-ref name="actionMappingParams"/> <interceptor-ref name="staticParams"/> </interceptor-stack> (courtesy of dale) http://www.nabble.com/about-paramsPrepareParamsStack-td15462644.html Martin ______________________________________________ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. > Date: Fri, 1 Aug 2008 05:59:57 -0700 > From: [EMAIL PROTECTED] > To: user@struts.apache.org > Subject: paramsPrepareParams vs. staticParams > > > Is there any design reason why staticParams is not called before prepare in > the paramsPrepareParams stack? > > Also, in a potential RFE sort of vein, would there be any support for a > request for a way of making staticParams non-overwritable? (i.e. the params > defined in the action configuration XML and specified as non-mutable would > not be overwritten by clever folk sticking > '?paramname=value¶m2name=value2' at the end of any given URL) > > Later, > > Andy > -- > View this message in context: > http://www.nabble.com/paramsPrepareParams-vs.-staticParams-tp18773842p18773842.html > Sent from the Struts - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > _________________________________________________________________ Got Game? Win Prizes in the Windows Live Hotmail Mobile Summer Games Trivia Contest http://www.gowindowslive.com/summergames?ocid=TXT_TAGHM