Re: Posting XML to Struts

2004-09-17 Thread Martin Schaefer
The code snippet below uses JDOM but should easily be adaptable to anything else. Hope it helps. On the server side read the data from the request's inputStream. If however you want to use multipart messages things get slightly more tricky. URLConnection conn = ... // configure t

Re: Posting XML to Struts

2004-09-17 Thread KhayOng
In the action class, just call request.getInputStream(). On Fri, 17 Sep 2004 08:57:56 +, Mark Benussi <[EMAIL PROTECTED]> wrote: > Has anyone got an example of posting an XML message via the web to a sruts > action on an external site and how I should handle that request in the > struts acti

Posting XML to Struts

2004-09-17 Thread Mark Benussi
Has anyone got an example of posting an XML message via the web to a sruts action on an external site and how I should handle that request in the struts action? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command