servlet problem to start with

I try the servletrunner ...

it says to type http://host:port/servlet/SimpleServlet

but Im using windows and dont know what is my computer host name

I try using C: as the host name but failed ...

so how to find out my comp host name ..??

anyone help me ...


  • If you're gonna start coding for the Internet (ie servlets) you need to understand the URL Addressing scheme.

    Your IP hostname should be the same as 'computer name' under Windows. Alternatively use 'localhost' or IP address

    Good Luck

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!