Win a copy of The Java Performance Companion this week in the Performance forum!
    Bookmark Topic Watch Topic
  • New Topic

how do i write xml in to file by using jsp

 
kanth varada
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Report post to moderator
how do i write xml in to file by using jsp

I have one xml file and i want to take the xml data in to a file.so that i can display to the browser using java code stringtokenizer by using scriptlet in jsp.

so please help me in this stuff...
 
Krithika Srinath
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi Kanth,

Just now I posted a reply to similar topic. Please see the topic http://www.coderanch.com/t/289544/JSP/java/creating-xml-suing-jsp]Creating XML using jsp from the same forum

In your case, the ideal thing would be to use DOM parser.

Regards,
~Krithika
 
    Bookmark Topic Watch Topic
  • New Topic