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:
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
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-
3 matches
Mail list logo