Hi,
I just tried to run a sevlet I developed with the servlet 2.2 api with tomcat
4.
I get the following error (in mozilla when i try to view):

A Servlet Exception Has Occurred

java.lang.ClassCastException: MyServlet
        at org.apache.catalina.core.StandardWrapper.load(Unknown Source)
        at org.apache.catalina.core.StandardWrapper.allocate(Unknown Source)
        at org.apache.catalina.servlets.InvokerServlet.serveRequest(Unknown Source)

I'm guessing this is just poor backward compatibility?

if I recompile with the new api, will things work?

thanks,
Rob

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to