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 61233 invoked from network); 27 Jul 2000 12:52:11 -0000 Received: from pixel.elseweb.com (HELO webcollage.com) (199.203.179.226) by locus.apache.org with SMTP; 27 Jul 2000 12:52:11 -0000 Received: from athena.elseweb.com (athena [192.168.1.30]) by webcollage.com (8.9.3+Sun/6.2.1) with ESMTP id OAA02389 for ; Thu, 27 Jul 2000 14:55:46 +0200 (IST) Received: by mail.israel.elseweb.com with Internet Mail Service (5.5.2650.21) id ; Thu, 27 Jul 2000 15:51:38 +0300 Message-ID: From: Amos Shapira To: "'tomcat-user@jakarta.apache.org'" Subject: RE: Init-Parameter Date: Thu, 27 Jul 2000 15:51:36 +0300 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N What's the exact API you use to get the params. I still have time to work (but I work about 15 hours a day). > -----Original Message----- > From: Thomas Bilz [mailto:thomas.bilz@xplain.de] > Sent: Thursday, July 27, 2000 2:46 PM > To: tomcat-user@jakarta.apache.org > Subject: RE: Init-Parameter >=20 >=20 > Nice idea. But it doesn't work! I've tried it already. If I=20 > map one servlet > direct to an url-pattern, it'll get the > init-parameters. At the other way - started by the=20 > url-pattern through the > invoker - the parameters get lost on the way to the servlet.=20 > I think the > invoker catches them. >=20 > Thanks once again. Your answering so many of my questions, do=20 > you still have > time to work? >=20 > Tom >=20 > > -----Original Message----- > > From: Amos Shapira [mailto:amos.shapira@webcollage.com] > > Sent: Thursday, July 27, 2000 1:05 PM > > To: 'tomcat-user@jakarta.apache.org' > > Subject: RE: Init-Parameter > > > > > > Try using context-param, these are application-level > > parameters. > > > > > -----Original Message----- > > > From: Thomas Bilz [mailto:thomas.bilz@xplain.de] > > > Sent: Thursday, July 27, 2000 1:47 PM > > > To: tomcat-user@jakarta.apache.org > > > Subject: Init-Parameter > > > > > > > > > Once again a little nice question: > > > > > > I want to start my servlets from a single directory > > > '/Servlets'. 'That's > > > easy', all of you'll say. Yeah I thought this, too. > > > I added to web.xml some lines: > > > -------------- > > > > > > invoker > > > /Servlets/* > > > > > > --------------- > > > Works fine, until I had to use Init-Parameters for the > > > servlets. It looks > > > like the parameters are not forwarded by the invoker. Sure I > > > could insert > > > mappings for all servlets, but there are over 50!! > > > So, is there another way to get things done? > > > > > > Tom > > > > > > XPLAIN GmbH > > > ----------------------------------------- > > > Studio fuer interaktive Medien > > > Burgstrasse 25 > > > D-50321 Br=FChl > > > www.xplain.de > > > thomas.bilz@xplain.de > > > > > >=20