Hi,
     Its common that user sometimes will enter string field values with
spaces or just by mistake value as empty space, is there any way to make it
 as default behaviour of struts2 to trim ?

Right now we are depending on an Interceptor which will take care of
trimming value but this is making problem with fileUpload interceptor to
not work properly.

Is there any alternative way to achieve this or is there any possibility of
adding this feature to struts2 ?

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.

-- 
Thanks & Regards
Srikanth

Reply via email to