tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikolaj Rydzewski <>
Subject Extra newline characters appenden to taglibs output?
Date Thu, 30 Jun 2005 09:30:07 GMT

I use Tomcat 5.0.30. I have problems with taglibs generated from 
tagfiles. Tomcat appends extra newline character at end of tag output. 

Tagfile with just one line, rally without newline characters, located 
in  WEB-INF/tags/sample.tag with one word:

And test jsp page:

<!-- --><tags:sample /><!-- -->

Output looks like this:

<!-- -->Sample
<!-- -->

Is there any way to avoid such behaviour? I wanted to use another 
tagfile to produce URL used in this way <a href="<tags:url ... />"></a>

and that newline is very unwanted.

Mikolaj Rydzewski  <>
Becomo S.A.
tel. (12) 2927104

View raw message