This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Servlets and the fly likes Saving xml file through a java Servlet to a server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Saving xml file through a java Servlet to a server" Watch "Saving xml file through a java Servlet to a server" New topic
Author

Saving xml file through a java Servlet to a server

Bhasker Reddy
Ranch Hand

Joined: Jun 13, 2000
Posts: 176
I have an xml file coming as a stream or from a web page.
I need to write a Java Servlet that needs to take this stream
and build up the xml file , name the file using one of the tags
of the xml file. and save the file to the server.
Can any one suggest some ways to do this.
Does you guys have any code which does this.
appreciate your help


Bhasker Reddy
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Saving xml file through a java Servlet to a server