I am getting the following error: Can not find server or DNS error 1> I have set the following CLASSPATH: SET CLASSPATH=c:\jdk1.2.2;;c:\jswdk-1.0.1\lib\servlet.jar;c:\jswdk-1.0.1\examples\web-inf\servlets;c:\jdk1.2.2\lib\tools.jar 2> I wrote the simple HelloWorld program and saved it in c:\jswdk-1.0.1\examples\web-inf\servlets directory. I was able to compile the program successfully. 3> I started server from c:jswdk1.0.1 and got the following message in the DOS window:
Microsoft(R) Windows 98 (C)Copyright Microsoft Corp 1981-1999. C:\jswdk-1.0.1>startserver.bat Using classpath: .\classes;.\webserver.jar;.\lib\jakarta.jar;.\lib\servlet.jar;. \lib\jsp.jar;.\lib\jspengine.jar;.\examples\WEB-INF\jsp\beans;.\webpages\WEB-INF \servlets;.\webpages\WEB-INF\jsp\beans;.\lib\xml.jar;.\lib\moo.jar;\lib\tools.ja r;C:\EXAMPLES;C:\JDK1.2.1;C:\JSWDK-1.0.1\LIB\SERVLET.JAR;C:\JSWDK-1.0.1\EXAMPLES \WEB-INF\SERVLETS;;C:\JDK1.2.1\LIB\TOOLS.JAR C:\jswdk-1.0.1> 4> I then tried to invoke servlet by entering the following URL in Internet Explorer http://localhost:8080\examples\servlets\HelloWorld I am getting the following error: Can not find server or DNS error
Any ideas to get out of this problem?? Regards, Milind
[This message has been edited by Milind (edited May 14, 2000).]
Hi George, I am using IE5. I am not very sure but JDK1.2.1 was earlier installed on my machine.I installed JDK1.2.2 today and all my problems seem to have gone. I don't know whether JDK1.2.1 is compatible with JSWDK1.0.1 but installing JDK1.2.2 seem to have done the trick. Thanks for ur inputs. Regds, Milind