tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rahul Akolkar" <rahul.akol...@gmail.com>
Subject Re: Remove Excess whitespace from jsp
Date Tue, 21 Feb 2006 14:13:55 GMT
On 2/21/06, Steven Pannell <steven.pannell@zooplus.com> wrote:
> Hi,
>
> Is there a way to configure tomcat to remove the excess whitespace that is
> left over when tomcat parses the jsp tags.
<snip/>

Configuring Jasper to trim spaces [1] should help some. If justified,
a compaction filter could be introduced as well.

-Rahul

[1] http://tomcat.apache.org/tomcat-5.5-doc/jasper-howto.html#Configuration


> There is lots of blank lines
> left over in my html were the jsp tags use to be and I want to remove them.
> sometimes I get stuff like (this is just an example):
>
> <title>
>
>
>    hello world
>
>
> </title>
>
> Because of the tags.  Bit nasty really.
>
> thx.
> Steve.
>

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


Mime
View raw message