You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Thomas Bilz <th...@xplain.de> on 2000/07/27 12:46:58 UTC
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