This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Struts and the fly likes Which parser is used in Struts to parse the Structconfig.xml file. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Which parser is used in Struts to parse the Structconfig.xml file." Watch "Which parser is used in Struts to parse the Structconfig.xml file." New topic
Author

Which parser is used in Struts to parse the Structconfig.xml file.

p hasini
Ranch Hand

Joined: Oct 24, 2009
Posts: 92
Which parser is used in Struts to parse the Structconfig.xml file.
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9374
    
  19

I think it uses the SAX parser. Try to create an invalid struts-config.xml and you'll get a org.xml.sax.SAXParseException ...


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

If I remember correctly it uses the commons-digester.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Which parser is used in Struts to parse the Structconfig.xml file.
 
jQuery in Action, 3rd edition