On Tue, Feb 19, 2013 at 1:05 AM, Sreekanth S. Nair wrote:

> is there any way to make it as default behaviour of struts2 to trim ?
>

AFAIK, no. I've solved this the same way you have.


> [Our trimming interceptor causes the upload interceptor to not work]
>

A bit more information might be helpful, like what does "not work properly"
mean?


> If interceptor is the only option can anyone tell which will be the safest
> way to achieve this without disturbing other struts default filter like
> fileUpload.
>

# Put trimming after uploading
# Only trim non-file form fields

Dave

Reply via email to