Dear List,
a few month ago I asked a question how to deal with HTTP parameter names like this: map['key with spaces'] Back then I was told I could use ParameterNameAware. Now I had some time to look at this. But, well, it does not work as expected. The javadoc of ParametersInterceptor states: > Using ParameterNameAware could be dangerous as > ParameterNameAware.acceptableParameterName(String) takes precedence > over ParametersInterceptor which means if ParametersInterceptor excluded > given parameter name you can accept it with > ParameterNameAware.acceptableParameterName(String). This does not happen. When ParametersInterceptor.isAccepted() returns false, action.acceptableParameterName() is not called. You can find a sample app on github: https://github.com/wolpi/struts2-samples/tree/master/mapparaspaces Now my question is: Who is right? javadoc or code? regards, Christoph This Email was scanned by Sophos Anti Virus