dcsimg
Load XML file using servlet
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   ratheesh_narayanan
Posted On:   Thursday, March 23, 2006 04:59 AM

Hi all,


Can anyone help me to write a small servlet to read xml file and parse it from webroot?


I want to write a small servlet which will load one xml file, parse it and read one element from that. If you want to parse an xml file what are the necessary classes required?


Bit of code would be helpful...


thanks in advance,


ratheesh

Re: Load XML file using servlet

Posted By:   ankush_purwar  
Posted On:   Thursday, March 23, 2006 02:38 PM

There are so many xml parsers avalaible in the industry.
What you need SAX based or DOM Based ?
Try Xerces.jar , jdom.jar, jaxp.jar etc...
About | Sitemap | Contact