@struts.apache.org
[mailto:user-return-202452-indika=rezgateway@struts.apache.org] On
Behalf Of Indika Maligaspe
Sent: Monday, September 21, 2009 7:46 AM
To: 'Struts Users Mailing List'
Subject: RE: How to read an XML request from struts
I would also like to know what Martin has queried, if ther
: Sunday, September 20, 2009 8:33 PM
To: Struts Users Mailing List
Subject: RE: How to read an XML request from struts
Tommy/Wes
is there any way to autodetect which converter to use for jibx?
public static final String contentTypeXML = "text/xml; charset=UTF-8;
type=jibx";thanks,
Mar
e pouvons accepter aucune responsabilité
pour le contenu fourni.
> Date: Sun, 20 Sep 2009 10:56:57 -0400
> Subject: Re: How to read an XML request from struts
> From: w...@wantii.com
> To: user@struts.apache.org
>
> A good struts-y way to do it would be to create a converter
A good struts-y way to do it would be to create a converter that can
convert the xml to an instance of your business object, maybe using
xstream or jixb. Then set a field on your action of the said business
type an configure the converter for that action.
-Wes
On 9/20/09, Tommy Pham wrote:
> --
- Original Message
> From: indikamaligaspe
> To: user@struts.apache.org
> Sent: Friday, September 18, 2009 10:53:48 AM
> Subject: How to read an XML request from struts
>
>
> Hi,
>
> I have situation where some users will be posting an XML message (using a
> java client) and some HTML
5 matches
Mail list logo