Are you sure you have installed an XML parser? Make sure you download it
first (http://java.sun.com/xml), and install the jar files (jaxp.jar,
crimson.jar, xlan.jar) in C:\jdk1.3\jre\lib\ext (for JDK v1.3, for
example). This will eliminate the need to modify CLASSPATH.
Maya Muchnik wrote:
> Hi,
> I have tried to compile struts-example. DatabaseServlet.java is looking
> for HandlerBase.class and InputSource.class from org.xml.sax. The error
> messages are:
>
> DatabaseServlet.java:273: cannot access org.xml.sax.HandlerBase
> file org/xml/sax/HandlerBase.class not found
> Digester digester = new Digester();
> ^
> DatabaseServlet.java:287: cannot access org.xml.sax.InputSource
> file org/xml/sax/InputSource.class not found
> digester.parse(bis);
> ^
>
> Maybe I have missed this question from others.
>
> Maya
> P.S. Maybe I have the old struts.jar?