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
for you, though -- or, in 1.3, the new request chain stuff. That way,
you can make the trim()ing logic as simple or as complex as you like.
L.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]