tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Bilz" <thomas.b...@xplain.de>
Subject Init-Parameter
Date Thu, 27 Jul 2000 10:46:58 GMT
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