with trimWhiteSpaces set to true:
${firstName} ${name} produces firstNamename without spaces in the html
${firstName}${' '}${name} produces firstName name with spaces in the html

If the second behaviour changes I have to reedit all my jsp files.


On Mon, Oct 19, 2009 at 4:49 PM, Christopher Schultz
<ch...@christopherschultz.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Markus,
>
> On 10/17/2009 2:52 AM, Markus Stauffer wrote:
>>>
>>>        private final String emptyText = new String("");
>>>
>>> Anyhow, it probably makes sense to change the "emptyText" string from ""
>>> to " " (that is, use a space instead of nothing).
>>>
>>> This bugzilla entry might be interesting to you:
>>> https://issues.apache.org/bugzilla/show_bug.cgi?id=45931
>>
>> Changing emptyText from "" to " " would break the workaround. It would
>> lead to 2 spaces in the html. Please don't do it.
>
> What workaround?
>
> Just FYI:if you want to comment on the bug and/or the fix, do it in
> bugzilla so people will actually read it.
>
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAkrcfGcACgkQ9CaO5/Lv0PBZUQCeO4itbf83tL+MilHHn36swHUV
> YtYAn1OtoUcZCeGBOt2eKWMabPOIFfTE
> =OU/u
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>



-- 
Markus Stauffer

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to