I am using Struts1.1 in a web application. My requirement is to trim leading and trailing spaces from the request parameters of each request. We are fetching request parameters through Struts form instead of fetching it through request.
Trimming spaces from each request parameter at the time of fetching it is not at all good approach. Since filter is not used in my application, I am thinking of any other option to do this?
What approach can I follow to do this?