This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I am using the following code to parse an XML called as order.xml. I am using SAX parser to do so. i have set the class path for JAXP.jar and Parser.jar in my class path. The code is compiling fine but when i execute the code its giving an error.
I need to move this thread to a more appropriate forum. This forum is for Servlets question. Your question is about SAX and XML.
Also there is a set of buttons under the Add Reply button when creating a thread or a reply. These buttons can really help with formatting. The one that says "CODE" can create tags that wrap around code and it will keep its format/tabbing/and spacing, to make nice and easy to read code.
Do you have a SAX parser implementation in your classpath? If it is, and the XMLReaderFactory still complains about the system property missing, I guess you need to add it yourself (java ... -Dorg.xml.sax.driver=com.parser.impl.BlahBlah ... MyApplication).