Hi Tudor,

Avoid using "offline" mode; It looks the Internet Explorer refuse network
(TCP/IP) connections when in this mode.

Then use "127.0.0.1" address instead of "localhost";

To verify your TCP/IP loopback works run:

C:\> ping 127.0.0.1



Cezar



On Mon, 2 Aug 1999, Tudor Bratescu wrote:

> Hi,
> I am trying to install and use your Web server that comes with the jsdk2.1 in order 
>to develop some servlets. To make it simple, I copyed the HelloWorld class from "JAVA 
>Servlet Programming (Jason Hunter)" and I am trying to run it. I am trying with no 
>success to run a HelloWorld servlet, and I am always getting the message "URL not 
>found in offline mode". Here is what I did so far:
> - CLASSPATH points to root/jsdk2.1/server.jar
> - CLASSPATH points to root/jsdk2.1/servlet.jar
> - I put the HelloWorld.class in root/jsdk2.1/webpages/Web-inf/servlets
> - I changed the Initial environment in the DOS window from "Auto" to 2816
> - I started the server using startserver command
> - I started the Internet Explorer in offline mode
> - I tryed the address : http://localhost:8080/servlet/HelloWorld   (I got "URL not 
>found in offline mode")
> - I tryed the address : 
>http://localhost:8080/jsdk1.2/webpages/Web-inf/servlet/HelloWorld   (I got "URL not 
>found in offline mode")
> - I tryed then to run Snoop servlet which is registred using the URL: 
>http://localhost:8080/webpages/web-inf/servlet/snoop
> as well as http://localhost:8080/servlet/snoop  (I got "URL not found in offline 
>mode" in both cases)
>
> "This sounds like a problem with your system whereby it can't resolve a localhost 
>lookup" ,saied James Todd from [EMAIL PROTECTED] who recomended me to post the 
>question at the present adress.
>
> Can you please tell me what do you think is missing or mistaken when running 
>HelloWorld ?
> Thanks,
> Teodor
>

___________________________________________________________________________
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

Reply via email to