Re: Auto Removal of trailing spaces from request params

2005-09-19 Thread Frank W. Zammetti
There's nothing specific in Struts, but a filter does the trick nicely: http://javawebparts.sourceforge.net/javadocs/index.html That will actually do *all* incoming requests, but that's probably what you want anyway. You can limit it by path too if that's helpful. Frank Laurie Harper wrote:

Re: Auto Removal of trailing spaces from request params

2005-09-19 Thread Laurie Harper
Abhinav Bhatnagar wrote: Hi All, Is there any way in struts to automatically trim the string before setting them in the form object? We can do it thru javascript but just want to know if Struts has any feature for this. I don't think so. You could define a custom RequestProcessor to do this

RE: Auto Removal of trailing spaces from request params

2005-09-19 Thread Abhinav Bhatnagar
Hi All, Is there any way in struts to automatically trim the string before setting them in the form object? We can do it thru javascript but just want to know if Struts has any feature for this. Thanks and regards, Abhinav CAUTION - Disclaimer * This e-