I dump all my servlets in one directory and don't mess
with the web.xml file.

Look in your server.xml file for the ROOT context line and
replace it with this:

<Context docBase="webapps/ROOT" path="" reloadable="false" />

Put all your servlets in /www/YourWebserver/webapps/ROOT/WEB-INF/classes

Thanx, PLA

-----Original Message-----
[]On Behalf Of Pillai, Sushama
Sent: Monday, January 28, 2002 11:19 AM
Subject: Tomcat

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
[ Picked text/plain from multipart/alternative ]

I am trying to configure Tomcat for Apache on V5R1. I have been successful
in running some JSPs but I am unable to understand how the servlets work. I
used the tutorial given in IBM HTTP Server Documentation Center. I see that
there is a Web.Xml that has the name of the Servlet I want to run but I am
not able to change it to run my servlets. If I go thru the configuration and
give the name of my Servlet, I am successful but that does only one Servlet
at a time. Basically I am not able to figure out how to create and run
servlets in Tomcat. Any and all help will be greatly appreciated.

Thank you in advance.
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) 
mailing list
To post a message email:
To subscribe, unsubscribe, or change list options,
or email:
Before posting, please take a moment to review the archives

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].