extra white space on form input

2006-01-26 Thread [EMAIL PROTECTED]
When struts takes the data from the request and populates your form, does it automatically trim whitespace? I think this might be answered from the particulars of HTML rather than struts. Perhaps the question is really whether html trims whitespace before building the request. If id

Re: extra white space on form input

2006-01-26 Thread Michael Jouravlev
No. Why should it? On 1/26/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: When struts takes the data from the request and populates your form, does it automatically trim whitespace? I think this might be answered from the particulars of HTML rather than struts. Perhaps the question is

Re: extra white space on form input

2006-01-26 Thread Frank W. Zammetti
On 1/26/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: When struts takes the data from the request and populates your form, does it automatically trim whitespace? I think this might be answered from the particulars of HTML rather than struts. Perhaps the question is really whether html trims

Re: extra white space on form input

2006-01-26 Thread Tamas Szabo
On 1/27/06, Frank W. Zammetti [EMAIL PROTECTED] wrote: On 1/26/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: When struts takes the data from the request and populates your form, does it automatically trim whitespace? I think this might be answered from the particulars of HTML rather than

Re: extra white space on form input

2006-01-26 Thread Frank W. Zammetti
In fact, Java Web Parts has such a filter: http://http://javawebparts.sourceforge.net/javadocs/javawebparts/filter/ParameterMungerFilter.html And in fact, if you wanted to do it client-side, JWP can help there too: