wood burning stoves
The moose likes Servlets and the fly likes JSWDK setup problems Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "JSWDK setup problems" Watch "JSWDK setup problems" New topic

JSWDK setup problems

Suman Garg

Joined: Apr 23, 2003
Posts: 2
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/'
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.
Unnsse Khan
Ranch Hand

Joined: Nov 12, 2001
Posts: 511
cute mink,
You should ditch the JSWDK for Tomcat. The JSWDK is really, really ancient.
Get Tomcat from:
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\
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.
Cindy Glass
"The Hood"

Joined: Sep 29, 2000
Posts: 8521
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.

"JavaRanch, where the deer and the Certified play" - David O'Meara
Suman Garg

Joined: Apr 23, 2003
Posts: 2
Hi Cindy
I changed my display name..
THanks 4 letting me know abt the policy
It is sorta covered in the JavaRanch Style Guide.
subject: JSWDK setup problems
It's not a secret anymore!