tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn Bayern <bay...@essentially.net>
Subject Re: Compress the HTML code
Date Mon, 15 Jul 2002 17:16:51 GMT
On Mon, 15 Jul 2002 Eric.Lewis@swissinfo.ch wrote:

> I noticed that after completing a page, JSTL (or JSP?) leaves empty
> space where the Java Tags were. Is there any possibility to compress
> the HTML code? The best thing would actually to have all the HTML code
> on one line, getting rid of a couple of bytes (the carriage returns,
> tabs etc.) on the way.

You could write a tag or, in a Servlet 2.3 environment, a filter, that
compresses the space, but there isn't a way to change the underlying
behavior, which is dictated by the JSP standard.

-- 
Shawn Bayern
"JSTL in Action"   http://www.jstlbook.com
(coming in July 2002 from Manning Publications)


--
To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@jakarta.apache.org>


Mime
View raw message