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

Reply via email to