Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

convert of text into xml

 
leela mohan
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to convert a data or text that is obtained from database using servlet into xml
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13056
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I suggest you first master the database to xml step OUTSIDE the servlet environment. Once you can write your xml to a Writer or a String, then you can think about doing it in a servlet. A google search for "java xml tutorial" should lead you to a basic tutorial.

Bill
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic