Re: Struts 2.5 ParameterAware and HttpParametersAware

2017-09-18 Thread Lukasz Lenart
Why do you do this in action? This a perfect case for an Interceptor. Regards -- Ɓukasz + 48 606 323 122 http://www.lenart.org.pl/ 2017-09-16 11:53 GMT+02:00 Alireza Fattahi : > we are using struts 2.3.xx after upgrade to struts 2.5.12 we found that the > ParameterAware is deprecated and we mu

Re: Struts 2.5 ParameterAware and HttpParametersAware

2017-09-16 Thread Yasser Zamani
I reviewed Strut's internal codes and seems following works: import org.apache.struts2.dispatcher.HttpParameters; import org.apache.struts2.dispatcher.Parameter; import org.apache.struts2.interceptor.HttpParametersAware; import java.util.HashMap; import java.util.Map; /** * Created by user on

Struts 2.5 ParameterAware and HttpParametersAware

2017-09-16 Thread Alireza Fattahi
we are using struts 2.3.xx after upgrade to struts 2.5.12 we found that the ParameterAware is deprecated and we must use HttpParametersAware. There is an action class which extends ParameterAware and change some parameters before action (It remove input masks for example removes , from 123,456,