Mukesh,
If you have not modified the default directory structure of the JSWDK
distribution and have left the "webserver.xml" file alone, then to
execute the HelloWorldExample servlet, here's what you should use:
http://localhost:8080/examples/servlet/HelloWorldServlet
Or, better yet, go to http://localhost:8080/examples/index.html and
choose as necessary.
Also, you need to make sure that a) your TCP/IP stack is indeed
resolving localhost/127.0.0.1 correctly (try, "ping localhost" or "ping
127.0.0.1" or even "telnet localhost 8080") and b) if you use proxies,
your browser is setup to not send requests for localhost to the proxy.
Hope this helps,
Shash
Mukesh wrote:
>
> I tried a lot to execute HelloWorldExample servelet using JSWK1.0.1 kit,
>
> but all in vain.
> I tried following URLs
> http://localhost/127.0.0.1:8080/Web-inf/servelets/HelloWorldExample
> http://localhost/127.0.0.1:8080/HelloWorldExample
> http://127.0.0.1:8080/Web-inf/servelets/HelloWorldExample
> http://localhost:8080/Web-inf/servelets/HelloWorldExample
> When I started server using startserver.bat file, the following message
> is flashed by the server
> endpoint created at localhost/127.0.01:8080
> please help any body.
> Thanks.
> Mukesh
>
> ___________________________________________________________________________
> 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
___________________________________________________________________________
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