File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 9280
    
  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
Why is it not a validating parser?
Parser used to parse struts.xml in S2
Parser to parse struts-config.xml
Need help to understand the ActionServlet
Can a Web Application have two controllers?