Hi,
I would like to set up struts 2 so that all request parameters are
trimmed (leading and trailing whitespace removed) when the parameters
are bound to the action. I sort of expected this to be the default
behavior, but I'm finding it is not (struts 2.0.11). I looked around
to see if
Am Freitag, 17. Oktober 2008 15:22:43 schrieb Adam Lister:
Am I missing something?
Write your own one which does that and add it to your stack.
--
Bitte senden Sie mir keine Word- oder PowerPoint-Anhänge.
Siehe http://www.gnu.org/philosophy/no-word-attachments.de.html
Really, I'm not out to
Yes, I could write my own request filter that does this, but I was sort
of hoping there'd be something in the framework that could do it for me,
as other web frameworks that I've used in the past have offered this
functionality, and it seems to be something that people would fairly
commonly
Hi Adam,
I vaguely believe that what you are looking for can be found, not among
interceptors, but among converters. (Isn't there a trim flag, somewhere?)
Sorry for the vague answer, but I hope it can steer you in the right general
direction!
2008/10/17 Adam Lister [EMAIL PROTECTED]
Yes, I
4 matches
Mail list logo