i seem to be having the wrong compiled version of
javax.servlet.ServletContext,
as i keep getting the following error:
Error: 500
Internal Servlet Error:
java.lang.NoSuchMethodError: javax.servlet.ServletContext: method
getResource(Ljava/lang/String;)Ljava/net/URL; not found
at com.sun.web.core.DefaultServlet.doGet(DefaultServlet.java:54)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:499)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at
com.sun.web.core.ServletWrapper.handleRequest(ServletWrapper.java:155)
at com.sun.web.core.Context.handleRequest(Context.java:414)
at
com.sun.web.server.ConnectionHandler.run(ConnectionHandler.java:139)
the source file for javax.servlet.ServletContext in the src directory does
have a getResource() method,
but when i do a javap -classpath d:\mydir\lib\servlet.jar
javax.servlet.ServletContext , i dont see
that method as well as other methods like getMajorVersion() etc.
Are others getting the same problem?
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html