File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

JSWDK setup problems

Suman Garg
Greenhorn

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/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.
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:
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.
Cindy Glass
"The Hood"
Sheriff

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.
Thanks,
Cindy


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

Joined: Apr 23, 2003
Posts: 2
Hi Cindy
I changed my display name..
THanks 4 letting me know abt the policy
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSWDK setup problems
 
Similar Threads
JSWDK 1.0.1
Having trouble setting up JSP engine
Mapping Configuration
Help on installing Tomcat
The connection was refused when attempting to contact localhost:8080