Use localhost:8080 instead
or try with localhost:9090/
Atif Mumtaz Khan wrote:
> 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
--
------------E-Card For Paresh M Gheewala----------------
[EMAIL PROTECTED] / Software Engineer ( R & D )
[ Versaware Technologies (I) Pvt. Ltd. ]
'E' Building, Liberty, North Main Road,
Koregoan Park Pune -1 ( Maharastra ) - 411001. India.
Ph : +91-020-4355284 (R - Pune)
+91-0261-420668 (R - Surat)
+91-020-636028 (O)
Visit : http://www.versaware.com
---------------T h a n k Y o u -----------------------
___________________________________________________________________________
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