• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to run Servlets

 
Anupam Sinha
Ranch Hand
Posts: 1090
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13071
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1090
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic