Hi there
i downloaded Tomcat 4.0 b5 and installed it on my PC running win98. it works
fine but for some reason it does not run the jsp examples in the local host
or any other jsp pages i created, even though it runs the servlets ok. i get
the error shown at the end of this mail. But the strange thing is though,
even though i get this error, when i view the page source code using netscape
it shows the result of the jsp processing, for example when i tried the Date
jsp example i got the error message but the page source contained the date
resulted from the jsp. i installed the JDK 1.3 and set all the paths
required... i had tomcat 3.2.2 which was running perfectly, but i need tomcat
4.0 as it has support for WAP technology which i need for my WAP research
project. Can u please help me... i do need it urgently...
thanx alot
Tim

here is the error message:
-------------------------------------------

A Servlet Exception Has Occurred

org.apache.jasper.JasperException: Unable to compile class for
JSPC:\Tomcat\bin\..\work\localhost\examples\jsp\dates\date_jsp.java:168:
Incompatible type for method. Explicit cast needed to convert
java.lang.Throwable to java.lang.Exception.
        if (pageContext != null) pageContext.handlePageException(t);
                                                                 ^
1 error

 at org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
 ...etc

Reply via email to