You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Pe...@gmx.net on 2006/02/15 09:08:29 UTC

Using HTTP Client in Struts to send xml and show rendered document

Hello,

I have this use case that I want to send an xml document from my struts apps
to another application for rendering. This (non-strus)application does then
just send an response with attachment header. I'm just not so sure how to do
this in the request/response model of Struts. Can someone help me out?

cheers,
Pete

-- 
DSL-Aktion wegen gro�er Nachfrage bis 28.2.2006 verl�ngert:
GMX DSL-Flatrate 1 Jahr kostenlos* http://www.gmx.net/de/go/dsl

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


Re: Using HTTP Client in Struts to send xml and show rendered document

Posted by Leon Rosenberg <ro...@googlemail.com>.
your another application send a request to your struts application,
your struts application generates the answer as xml (you can stream
out w3c xml objects through the response stream or just have a jsp
which generates the xml)
the first application grabs the struts application's response and
sends it via mail.
done. :-)

regards
Leon

On 2/15/06, Peter.Neu@gmx.net <Pe...@gmx.net> wrote:
> Hello,
>
> I have this use case that I want to send an xml document from my struts apps
> to another application for rendering. This (non-strus)application does then
> just send an response with attachment header. I'm just not so sure how to do
> this in the request/response model of Struts. Can someone help me out?
>
> cheers,
> Pete
>
> --
> DSL-Aktion wegen großer Nachfrage bis 28.2.2006 verlängert:
> GMX DSL-Flatrate 1 Jahr kostenlos* http://www.gmx.net/de/go/dsl
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

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