(Disclaimer: I've spent hours rummaging in FAQs, Archives, and other
documents, and tried countless suggestions gleaned thereby. No luck.)

I've successfully installed Tomcat 3.1 and Apache on NT 4.0, and made them
work together to the extent that I can use the examples.

However, I want to do the following very simple and concrete thing:

I have a servlet called "HelloWorld.java", which I have compiled. I would
like to run it from my web browser. I would really like to know EXACTLY
what to do to be able to do this, short of creating WAR files and directory
structures. This is a minimalist question -- I simply want to know what is
the most lightweight way to play with developing servlets.

1. Where do I put my servlet? Do I need to compile it first?
2. Exactly what lines do I need to add to conf\web.xml?
3. What other configuration tweaks need to be done?
4. How do I run the servlet in the browser (I can access the examples at:
   http://127.0.0.1/examples/servlets/)

IMHO, the documents available need a few concise "recipes" for commonly
used scenarios. If I can collect enough information I'll publish what I've
learned.

Thanks,

--Jim Bartram


Reply via email to