Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 55614 invoked by uid 500); 22 May 2001 14:31:55 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: tomcat-user@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 55372 invoked from network); 22 May 2001 14:31:39 -0000 Received: from unknown (HELO dcb?mail.dcb.cz) (194.212.218.179) by h31.sny.collab.net with SMTP; 22 May 2001 14:31:39 -0000 Received: by dcb_mail with Internet Mail Service (5.5.2653.19) id ; Tue, 22 May 2001 16:27:26 +0200 Message-ID: <908FC6B310E3D411A4EC006008AD54711E948F@dcb_mail> From: "Pernica, Jan" To: tomcat-user@jakarta.apache.org Subject: RE: servlet deployment Date: Tue, 22 May 2001 16:27:19 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N you have to modify web.xml and add: HelloWorld dummy.HelloWorld HelloWorld /servlet/dummy/HelloWorld then you can reference it using the URL you have written On Tuesday, May 22, 2001 3:43 PM, Montgomery, Kendal L [SMTP:kendal.montgomery@qwest.com] wrote: > Hello all, > > I am just wandering how I deploy a servlet that is part of a package, and > how to reference it. For example.. say you take the HelloWorldExample > servlet that comes with and modify it. Rename the source to > HelloWorld.java, and change the file appropriately, including adding a line > at the top: > > package dummy; > > so, it is in the dummy class. > > When I deploy this "new" HelloWorld servlet, I put it in > ...webapps/examples/WEB-INF/classes/dummy/HelloWorld.class. Now, to > reference this, I expected to be able to go to my browser and hit > http://myserver/examples/servlet/dummy/HelloWorld > . That did not work. > So, what do I have to do to make this work? > > By the way, I am running Apache 1.3.19 and Tomcat 3.2.1.fasdf > > Thanks.. > > Kendal L. Montgomery > Qwest - eFlow Development Team > 614-215-4937 __________________________________________________________________ Tato komunikace je urcena vyhradne pro adresata a je duverna. This communication is intended solely for the addressee and is confidential.