tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghupathy,Gurumoorthy" <gurumoorthy.raghupa...@uk.fid-intl.com>
Subject RE: Extra newline characters appenden to taglibs output?
Date Thu, 30 Jun 2005 10:47:45 GMT
Can you send the code of the sampleTag ? 

-----Original Message-----
From: Mikolaj Rydzewski [mailto:mikolajr@becomo.com] 
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  <mikolajr@becomo.com>
Becomo S.A.
tel. (12) 2927104



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


Mime
View raw message