struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: Struts2: Problem with form fields
Date Tue, 19 Mar 2013 12:11:20 GMT
2013/3/19 Dhananjay Makwana <makwana@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
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

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


Mime
View raw message