This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi all, I had prev posted this topic but didnt get any favourable answers. So asking again. I habe downloaded tomcat and set the classpath also as servlet.jar. I even opened the DOS prompt and set the foll: set TOMCAT_HOME = tomcat set JAVA_HOME = C:\JDK1.2.2 then i tried typing in the url in the browser http://localhost:8080 or even the url http:\\127.0.01:8080\examples\servlet\HelloWorldExample but it gives me the foll error: Bad Gateway The following error occurred: A DNS lookup error occurred. The host was not found.
Please contact the administrator. why is this problem. i need to fix this soon bcoz i want to start working. is this any firewall pbm or is it that i need jdk1.3 I am workin on WindowsNT. can someone pl explain? vidhya.
Dont set your environment variables on the command line. Use your tomcat.bat file for that. To figure it out how to set it up, open up the file and you will see what it is asking for. You didn't mention starting Tomcat. Did you start Tomcat?
Joined: Jul 14, 2001
Hi bj, i didnt understand what you said, can you be more specific. i started tomcat in the dos prompt giving the command startup. then another window pops up saying tomcat started. i think thats the way it starts... can you be more specific?
I doubt it has anything to do with Tomcat. However, your second example has BACKslashes in the URL. Only "real" - that is, forward - slashes are valid for a URL, regardless of OS. I could qualify that, but the difference isn't important here. Under NT, both http://localhost:8080 and http://127.0.0.1:8080 should work unless your networking configuration has been damages.
An IDE is no substitute for an Intelligent Developer.