File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Plz let me know how to pass an XML to servlet

 
Pooja Agarwal
Ranch Hand
Posts: 37
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 572
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
see JAXP for parsing XML.
 
Nitin Mehhta
Ranch Hand
Posts: 48
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic