Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_jsp thread: Chapter12 JSP and XML errors


Message #1 by "Chris Robey" <crobey@j...> on Thu, 15 Nov 2001 13:50:06 -0500
This is a multi-part message in MIME format.

------=_NextPart_000_000C_01C16DDC.6F9E42C0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

I receive the following error when trying the sax_example.jsp example. Any
idea's?


org.apache.jasper.JasperException: Unable to compile class for JSP

An error occured between lines: 13 and 15 in the jsp file: /sax_example.jsp

Generated servlet error:
C:\Java\jakarta-tomcat-4.0\work\localhost\ch12\sax_0005fexample$jsp.java:70:
Incompatible type for method. Can't convert
com.jspinsider.jspkit.examples.SAXExample to org.xml.sax.HandlerBase.
                 sp.parse(new java.io.File("c:/xml/links.xml"), se);
                                                                ^
1 error


Also very confussing is that the dom_message.jsp (p. 412) example does not
work however the jdom_message.jsp (p. 421) example does?  The following
error is generated however I don't see how that can be true if the
jdom_message.jsp works.

javax.servlet.ServletException: File "C:/xml/message.xml" not found.

thanks,

chris



  Return to Index