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

Reply via email to