Thanks for solution. I followed [2] and it works perfectly. Now any suggestions/patterns for implementations of "acceptableParameterName(String)" method, apart from the obvious checking of parameter startWith, endsWith etc.?
On 3/19/13 5:41 PM, Lukasz Lenart wrote:
2013/3/19 Dhananjay Makwana <makw...@semandex.net>:
I do have an excludePattern but that is for my css, js files. Here's my
struts.xml file. I am using version 2.3.8.
I have double checked and your problem is related to acceptParamNames
property of ParametersInterceptor which was defined very restrictive
[1] to secure framework and applications. You can either relax the
pattern (not recommended) or implement
ParameterNameAware#acceptableParameterName(String) to accept param
names by action [2].

[1] http://struts.apache.org/development/2.x/docs/s2-009.html
[2] 
http://struts.apache.org/development/2.x/docs/parameters-interceptor.html#ParametersInterceptor-Excludingparameters


Regards


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to