This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Servlets and the fly likes Plz  let me know how to pass an XML to servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Plz  let me know how to pass an XML to servlet" Watch "Plz  let me know how to pass an XML to servlet" New topic
Author

Plz let me know how to pass an XML to servlet

Pooja Agarwal
Ranch Hand

Joined: May 19, 2004
Posts: 37
Hai All,

I am into a new project and i have to write a servlet which takes input as XML thru HTTPS, parse the XML, perform database operations and need to send the response as XML.

Can anyone help me out in this.
Thanks in advance.
Ali Gohar
Ranch Hand

Joined: Mar 18, 2004
Posts: 572
see JAXP for parsing XML.
Nitin Mehhta
Ranch Hand

Joined: May 18, 2004
Posts: 48
Hi Pooja,

I had posted an answer to a similar question ...sending you the link..hopefully it might come to use...

http://www.coderanch.com/t/358408/Servlets/java/pass-XML-servlet
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Plz let me know how to pass an XML to servlet