tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn Bayern <bay...@essentially.net>
Subject RE: Custom Tags inside JSTL tags.
Date Tue, 09 Jul 2002 17:47:23 GMT
On Tue, 9 Jul 2002, Martin Cooper wrote:

> Just to see if your tag's output is being handled correctly, how about
> trying this:
> 
>     <c:set var="xml">
>       <tim:profile/>
>     </c:set>
>     <c:out value="${xml}"/>
> 
> You should see the same as if you'd just used:
> 
>     <tim:profile/>

Well, <c:out> will in this case, by default, escape any XML
metacharacters.  If you use

  <c:out value="${xml}" escapeXml="false" />

then the two outputs should be the same.

-- 
Shawn Bayern
"JSTL in Action"   http://www.jstlbook.com
(coming in July 2002 from Manning Publications)


--
To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@jakarta.apache.org>


Mime
View raw message