tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amos Shapira <amos.shap...@webcollage.com>
Subject RE: Init-Parameter
Date Thu, 27 Jul 2000 11:04:32 GMT
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:
> --------------
> <servlet-mapping>
>          <servlet-name>invoker</servlet-name>
>          <url-pattern>/Servlets/*</url-pattern>
> </servlet-mapping>
> ---------------
> 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ühl
>            www.xplain.de
>            thomas.bilz@xplain.de
> 

Mime
View raw message