commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Ferguson <seansli...@comcast.net>
Subject [JELLY] XML Return Value
Date Fri, 18 Jul 2003 18:54:05 GMT
Hi,

I have a taglib that makes an http request to a server which responds 
with some XML.  How would I return that XML to the caller of the tag?  I 
tried doing this:

<x:parse var="doc">
    <mytaglib:getXml id="test"/>
</x:parse>

and my taglib does this:

<http:post var="request" ... /http:post>
${request.responseBodyAsStream}

But that doesn't work.  Is that what it the tag is supposed to return?  
If I do responseBodyAsString, it returns the string, but all the < and > 
tags are escaped out.

Please help,

Thanks!



Mime
View raw message