• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to run Servlets

 
Ranch Hand
Posts: 1090
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic