Hi,
2008/6/9 Stanley, Eric <[EMAIL PROTECTED]>:
> Dave,
> Thanks. So if I understand you, I can set all my url's that
> don't use params to excludeParams, but leave the ones that use params
> alone? Also, where do I set the constant? Im sure its just me, but this
> doesn't seem like a wise usage of params in S2. Why would it be
> beneficial to append any parameters that are not explicitly coded?
>
in struts.properties
struts.url.includeParams = none
in struts.xml
<constant name="struts.url.includeParams" value="none"/>
in web.xml
<filter>
<filter-name>struts</filter-name>
<filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
<init-param>
<param-name>struts.url.includeParams</param-name>
<param-value>none</param-value>
</init-param>
</filter>
http://struts.apache.org/2.1.2/docs/constant-configuration.html
Regards
--
Lukasz
http://www.lenart.org.pl/