aspose file tools*
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 Java 8 in Action this week in the Java 8 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
 
Similar Threads
updating xml using servlet
sevlet
Can we use a xml file to configure a servlet?
Servlet returning an XML
send a xml file to servlet and servlet send back the xml file