wood burning stoves*
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 Android Security Essentials Live Lessons 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: 9291
    
  17

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.
 
Similar Threads
Can a Web Application have two controllers?
Parser to parse struts-config.xml
Need help to understand the ActionServlet
Why is it not a validating parser?
Parser used to parse struts.xml in S2