struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinay Binny" <vinaybin...@gmail.com>
Subject Which is the XML parser used by Struts2
Date Fri, 17 Oct 2008 07:48:13 GMT
Hi all,

How do I find out the name of the DEFAULT SAX parser implementation class
used by Struts2? Struts2 picks up the Oracle xml parser from web-inf/lib
whenever I place the Oracle's XMLParserv2.jar there, and it fails while
parsing. From Tomcat's mailing list I found out that the SAXParserFactory
class can be explicitly specified, if I know the SAXParserFactpry class for
Struts I probably will be out of the woods.

To give you a background of the problem, I am using struts2 and Oracle's XSU
in one of our webapps. XSU has a tight dependency on its own XML parser
xmlparserv2.jar, when I drop this into the web-inf lib folder, struts2 picks
the classes in this jar to do its xml parsing chore instead of picking its
own xml parser, and fails.

Thanks a lot,
Vinay.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message