commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Lario" <la...@Inherit.com>
Subject [jelly] writing < to stream
Date Sat, 07 Feb 2004 03:47:44 GMT
I written a tag as follows:
 
public void doTag(org.apache.commons.jelly.XMLOutput xMLOutput) {
        try {
            xMLOutput.write("<%");
            xMLOutput.write(this.getBodyText());
            xMLOutput.write("%>");
        } catch(Exception ex)
        {
            
        }
    }
 
When I use the tag I want the output to be :
 <% some stuff %>
 
but get 
 
&lt; some stuff gt;
 
Can someone please help me with this? 
 
Thanks

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message