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

How to run Servlets

Anupam Sinha
Ranch Hand

Joined: Apr 13, 2003
Posts: 1090
Hi all
I would like to know how can I run my servlets on a win98 machine. Is it possible. What all software to I need to have to run it on my machine. I have Tomcat but I am not able to compile ithem on my platform. I tried downloading the j2ee sdk but it doesn't supposts the win98 platform.
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13037
You need:
1. Java 2 Standard Edition version 4- NOT J2EE - uninstall J2EE first
2. Tomcat 4
3. As I recall, on Win98 you have to increase the "environment" space because Tomcat sets lots of environment variables.
Don't try to compile your own servlets until you can run the Tomcat servlet and JSP examples.
Read the servlet.xml and web.xml files to see how the examples directory is set up.
DON'T use the /servlet/ style URLs
Anupam Sinha
Ranch Hand

Joined: Apr 13, 2003
Posts: 1090
Hi William
Thanks for looking into question. Now I am able to run the servlets examples. One thing thatI don't understand is "DON'T use the /servlet/ style URLs". What does this mean.
I agree. Here's the link: http://aspose.com/file-tools
subject: How to run Servlets
It's not a secret anymore!