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.
I have downloaded JDK1.4 , installed it. Then downloaded JSWDK-1.0.1, installed it. Im running windows 2000. i have set the PATH variable to C:\jsdk1.4.1 When i click on Start server, it starts properly, and i get the message 'endpoint created : localhost/127.0.0.1:8080' But when i type http://localhost:8080 in the browser, i get 'page not founf' error. Please tell me exactly what environment variables to set so that my homepage for webserver will load up.
Success is NEVER ENDING,<br />and<br />Failure is NEVER FINAL.
cute mink, You should ditch the JSWDK for Tomcat. The JSWDK is really, really ancient. Get Tomcat from: http://jakarta.apache.org/tomcat/index.html Also, the PATH system environmental variable is supposed to be set to the Java 2 SDK 1.4's bin directory... You should first make a environmental variable named: "JAVA_HOME" and point it to your base directory. Do this: JAVA_HOME = c:\j2sdk1.4.0\ PATH = %JAVA_HOME%\bin From what it sounds like you, still need to add servlet.jar to your CLASSPATH and also run the start script from your web server (servlet container)'s bin directory and then try viewing it using http://localhost:8080/ Let me know if you need any further assistance.
cute mink, Please change your name to be compliant with JavaRanch's naming policy. It should not be obviously fictitious. Your displayed name should be 2 separate names with more than 1 letter each. We really would prefer that you use your REAL name. You can change your name: here. Thanks, Cindy
"JavaRanch, where the deer and the Certified play" - David O'Meara
Joined: Apr 23, 2003
Hi Cindy I changed my display name.. THanks 4 letting me know abt the policy