extract multiple XMl files using Servlets
1 posts in topic
Flat View  Flat View

Posted By:   lily_wong
Posted On:   Wednesday, October 10, 2001 07:31 PM

I have a file call abc.xml. I need to find the respective xml file in a directory which fits the description and attributes of abc.xml. I have several xml files in that directory.

How can I perform such matches using Java Servlet ?

Re: extract multiple XMl files using Servlets

Posted By:   Bozidar_Dangubic  
Posted On:   Thursday, October 11, 2001 06:40 AM

I am not sure exactly what you are trying to do, but you would do the same logic in the servlet as you would in any other java class. you need to parse abc.xml, extract the data that you need from it, parse each file in your xml file directory and compare the data from abc.xml to each file until you find a match. it is the same logic that you would use if you were writing any other java class that performs the same thing.
About | Sitemap | Contact