You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by aum strut <au...@gmail.com> on 2008/11/29 10:46:13 UTC

Struts2 XML Handling

HI All,

I need to send XML data from my action. Curently in one of action i need to
send JSOn data from the action and for this i am using  JSON Plugin for
sending JSOn data from my action to the frontend.

Now i have to send XML data from my action.Do any one have any information
about how can we send XML data from action or any knowledge about any plugin
so that we can use this plugin to fullfill our requirment.

Any help in this regard will be much appriciated

Thanks in advance,
aum

Re: Struts2 XML Handling

Posted by Dave Newton <ne...@yahoo.com>.
You could use the REST plugin (S2.1+), use the XSL result, build it using JSP/FreeMarker, or use the same method used by the REST plugin but create your own result type.

Dave


--- On Sat, 11/29/08, aum strut <au...@gmail.com> wrote:

> From: aum strut <au...@gmail.com>
> Subject: Struts2 XML Handling
> To: "Struts Users Mailing List" <us...@struts.apache.org>
> Date: Saturday, November 29, 2008, 4:46 AM
> HI All,
> 
> I need to send XML data from my action. Curently in one of
> action i need to
> send JSOn data from the action and for this i am using 
> JSON Plugin for
> sending JSOn data from my action to the frontend.
> 
> Now i have to send XML data from my action.Do any one have
> any information
> about how can we send XML data from action or any knowledge
> about any plugin
> so that we can use this plugin to fullfill our requirment.
> 
> Any help in this regard will be much appriciated
> 
> Thanks in advance,
> aum


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