tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brad Neuberg <>
Subject Bug in trimSpaces?
Date Thu, 09 Sep 2004 16:30:45 GMT
I think I found a bug in the Tomcat's JSP compiler.
In our app, its causing some of our CSS styles to be flaky when we set 
trimSpaces to be true.  (To work around, we can just put something static 
in between the two adjacent EL expressions.)

When trimSpaces is set to true:





The following JSP code:

<div class="${style1} ${style2}" >

evaluates to:

<div class="dynamicStyleFOOdynamicStyleBAR" >

Notice that the space in between the two EL expressions is lost.

I think that is probably a bug. 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message