RE: Is there a reason Struts doesn't trim incoming values?

2003-06-18 Thread Chappell, Simon P
Not all whitespace is unwanted (just ask a Python geek) so to trim away all whitespace out of fields would be a most unwise thing for the action forms to do. Such behaviour should be restricted to your interface objects (those objects from your system that directly communicate with Struts)

RE: Is there a reason Struts doesn't trim incoming values?

2003-06-18 Thread Raible, Matt
Subject: RE: Is there a reason Struts doesn't trim incoming values? Not all whitespace is unwanted (just ask a Python geek) so to trim away all whitespace out of fields would be a most unwise thing for the action forms to do. Such behaviour should be restricted to your interface objects (those

RE: Is there a reason Struts doesn't trim incoming values?

2003-06-18 Thread Chappell, Simon P
modifications to my data. Simon -Original Message- From: Raible, Matt [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 11:37 AM To: 'Struts Users Mailing List' Subject: RE: Is there a reason Struts doesn't trim incoming values? I'm just trimming leading and trailing whitespace though

RE: Is there a reason Struts doesn't trim incoming values?

2003-06-18 Thread Raible, Matt
: Wednesday, June 18, 2003 10:48 AM To: Struts Users Mailing List Subject: RE: Is there a reason Struts doesn't trim incoming values? Matt, The only example that I can think of is a password field. On most operating systems (and especially Unix ones) a space is a valid password character