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.
in struts it both uses the SAX and DOM parsers.
the diff. is SAX is an Event based parser and DOM is tree based parser.
DOM consumes more memory than SAX.
so if you want to read the XML doc. then go for SAX.
if you are doing update delete insert operations on XML then go for DOM.