Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 36275 invoked from network); 25 Sep 2000 08:01:58 -0000 Received: from fiicm2pc60.tu-graz.ac.at (HELO gatekeeper.hyperwave.com) (129.27.200.60) by locus.apache.org with SMTP; 25 Sep 2000 08:01:58 -0000 Received: from firewall.hyperwave.com ([192.168.3.2]) by gatekeeper.hyperwave.com (8.8.8/8.8.8) with ESMTP id KAA28266 for ; Mon, 25 Sep 2000 10:01:57 +0200 Received: from hwal02.hyperwave.com (hwal02.hyperwave.com [192.168.153.25]) by firewall.hyperwave.com (8.8.7/8.8.7) with ESMTP id KAA05618 for ; Mon, 25 Sep 2000 10:01:57 +0200 Received: from farmer (hwpc160.hyperwave.com [192.168.153.160]) by hwal02.hyperwave.com (8.9.3/8.9.3) with SMTP id KAA01561 for ; Mon, 25 Sep 2000 10:01:57 +0200 (MET DST) From: "Arthur Farmer" To: "Tomcat-User-Mailinglist" Subject: Load on Startup : Where to put class? Date: Mon, 25 Sep 2000 10:02:20 +0200 Message-ID: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0036_01C026D7.B1C0F190" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------=_NextPart_000_0036_01C026D7.B1C0F190 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Hi I want to load some servlet on Tomcat startup that is responsible for handling all other servlets on my tomcat server. Well it does some initializing for my local database so that I don�t need to do that extra for each servlet . Now I tried to put the right lines into the web.xml file under /conf , but I don �t know where to put my Servletclass file. Which is the right location on the server (or local filesystem path) so Tomcat can find my class and load it? thx ------=_NextPart_000_0036_01C026D7.B1C0F190 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Hi =

I want to load some servlet = on Tomcat startup that is responsible for handling all = other servlets on my tomcat server. Well it does some initializing for my = local database so that I don’t need to do that extra for each servlet = .

Now I tried to put the right lines into the web.xml = file under /conf , but I don’t know where to put my Servletclass = file.

Which is the right location on the server (or local filesystem path) so Tomcat can find my class and load = it?

 

thx

 

------=_NextPart_000_0036_01C026D7.B1C0F190--