I have installled JSWDK-1.0.1 on WIndows NT workstation.
On running startserver.bat file, the web server get started.
Now when I go to the browser and give URL as http://127.0.0.1:8080/
I get the follwing error displayed in the browser:
______________________________________________________
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)
_______________________________________________________
While on the server console, it initialises the servlet, it gives
message as:
com.sun.web.core.DefaultServlet: init
If the web server is running and the servlet is also getting
initialized, why it's throwing the exception??
Any help will be appreciated.
Thanks,
Atif
___________________________________________________________________________
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