tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Escolar, Carlos (Carlos)" <>
Subject Tutorial needed on adding a Servlet to tomcat
Date Tue, 17 Oct 2000 18:30:54 GMT
I just started using Tomcat.  I am trying to add a Servlet, and I am finding
it not well documented.  (Isn't this the first thing that every one wants to
do?)  Could somebody please update the build/tomcat/doc/tomcat_ug.html file
with this information?

Lets say that I have a class called com.avaya.myclass and I want to get to
it using the URI:

Which steps must I take to accomplish this?

(I have figured out that if I create a directory under
build/tomcat/webapps/examples/WEB-INF/classes called com, then a directory
named avaya and then place myclass.class there, the following URI will work
to reach my Servlet:


I would like to know:

1) How do I create a synonym so I don't have to type the long
2) How do I tell Tomcat where my classes are (so I don't have to place them
under webapps/examples)

Carlos Escolar
Avaya Inc.

View raw message