Can you send the code of the sampleTag ? 

-----Original Message-----
From: Mikolaj Rydzewski [mailto:[EMAIL PROTECTED] 
Sent: 30 June 2005 10:30
To: Tomcat Users List
Subject: Extra newline characters appenden to taglibs output?


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  <[EMAIL PROTECTED]>
Becomo S.A.
tel. (12) 2927104



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to