You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Dima Retov <di...@axisway.com> on 2007/02/21 16:17:11 UTC

Posting Xml

Hello,

Is that good idea to POST XML data to Tomcat?

I wish to make HTTP request to servlet in Tomcat.

Method POST
Content Type: text/xml

Content would be non encoded XML file.

Is it good idea in general. My tomcat handles such requests now.
Is it expected that it will work in future?

Is there any limitations? e.g. request.getParameter() - should
parse GET parameters only.

-- 
Best regards,
 Dima                          mailto:dima@axisway.com



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Posting Xml

Posted by David Delbecq <de...@oma.be>.
Hi,
tomcat does not care what is in the body of request, it just look at url
to map it to a servlet and headers to create context and request
objects. The rest is entierly up to servlet to manager.

For your information, slide is a webdav servlet working under any J2EE
compliant webapp container that handles xml request from clients, and
there are also lots of webservices servlets around that take requests in
xml form


En l'instant précis du 02/21/07 16:17, Dima Retov s'exprimait en ces
termes:
> Hello,
>
> Is that good idea to POST XML data to Tomcat?
>
> I wish to make HTTP request to servlet in Tomcat.
>
> Method POST
> Content Type: text/xml
>
> Content would be non encoded XML file.
>
> Is it good idea in general. My tomcat handles such requests now.
> Is it expected that it will work in future?
>
> Is there any limitations? e.g. request.getParameter() - should
> parse GET parameters only.
>
>   



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org