hai, we r using XML File for storing data , in the Tomcat server.... The structure of the file is like a database record with 4 column... Before that we were using a db for holding this data..from that the records are selected using the following query " SELECT DISTINCT APPLICATIONNAME,CATAGORY FROM APPLICATION WHERE APPLICATIONID="?" Now how can I get data in such fashion after parsing the XML File?
Using SAX parser is easiest way to do this. Parser will throw events at each opning/closing tag. U will just have to catch those events to get the element. J2EE tutorial Go to chapter 5. Its a nice SAX tutorial.. hth sumukh