Gaurav Gehlot wrote:
> Hi,
> I am trying to compile the struts example, but I get the following error -
>
> D:\struts\jakarta-struts\src\share\org\apache\struts\digester\Digester.java:
> 76: Class javax.xml.parsers.SAXParser not found in import.
> import javax.xml.parsers.SAXParser;
> ^
>
> D:\struts\jakarta-struts\src\share\org\apache\struts\digester\Digester.java:
> 77: Class javax.xml.parsers.SAXParserFactory not found in import.
> import javax.xml.parsers.SAXParserFactory;
> ^
>
> In which jar file can I find the implementation for the javax.xml package?
>
> TIA,
> gg
>
There is a README file at the top-level directory of the Struts source distribution
that documents all the things you have to set up. In this particular case, you need a
JAXP-compliant XML parser on your compile classpath. Two that I've had success with
are the JAXP reference implementation from JavaSoft's web site (files "jaxp.jar" and
"parser.jar") or Xerces 1.1.3 (file "xerces.jar").
Craig McClanahan
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets