tomcat-users mailing list archives

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

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

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

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  <mikolajr@becomo.com>
Becomo S.A.
tel. (12) 2927104



Mime
View raw message