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
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
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,
3 matches
Mail list logo