tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Koberg <...@koberg.com>
Subject JSP XML syntax -> was ->Re: JSP Compiler produces huge HTML files with whitespace
Date Sun, 08 Aug 2004 17:59:14 GMT
Hi,

If you use the XML syntax you can handle whitespaces nicely. There are 
times when you want/need whitespace to remain, so managing it with the 
XML syntax is better, imho.

Are people using the XML syntax?

best,
-Rob



Shapira, Yoav wrote:

>Hola,
>I'm not a Jasper expert, my guess is for two reasons:
>- It's a slight performance hit
>
>- There's a slight change of bugs or sub-optimal behavior.  For example
>a subtle one was pointed out the other day: with trimSpaces on,
>${something} followed by a space becomes just ${something} without a
>space after it.  But for some HTML tags, e.g. <img>, and some browsers,
>this causes different display behavior.
>
>
>Yoav Shapira
>Millennium Research Informatics
>
>
>  
>
>>-----Original Message-----
>>From: Brad Neuberg [mailto:bkn3@columbia.edu]
>>Sent: Wednesday, September 08, 2004 1:45 PM
>>To: Tomcat Users List
>>Subject: RE: JSP Compiler produces huge HTML files with whitespace
>>
>>Yoav, thanks; this works.  One question; why isn't this true by
>>    
>>
>default?
>  
>
>>Brad
>>
>>At 09:56 AM 9/8/2004, you wrote:
>>
>>    
>>
>>>Hi,
>>>trimSpaces at
>>>http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jasper-howto.html.
>>>
>>>Yoav Shapira
>>>Millennium Research Informatics
>>>      
>>>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message