aspose file tools*
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


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "How to run Servlets" Watch "How to run Servlets" New topic
Author

How to run Servlets

Anupam Sinha
Ranch Hand

Joined: Apr 13, 2003
Posts: 1088
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
Rancher

Joined: Mar 22, 2000
Posts: 12806
    
    5
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
Bill
Anupam Sinha
Ranch Hand

Joined: Apr 13, 2003
Posts: 1088
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