Try this for each of your servlets:
<servlet>
.....
<param-name>properties</param-name>
<param-value>WEB-INF/servlet.properties</param-value>
....
</servlet>
where servlet.properties contains all the params required by your servlets.
----- Original Message -----
From: "Alberto" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 05, 2001 3:18 PM
Subject: A lot of params equals in web.xml
> Hi everyone.
> I've a question:
> in my web.xml I have a lot of servlets that use the same set of parameters
> (same param name, same param value). The value of these parameters could
> change a lot of time in a month so:
> there's a way to write only one set of param name / param value and call
it
> in all my servlet?
>
>
>
> I thought something like
> .........
> <param set>
> <set name>param_set_name</set name>
> <param-name>myparam</param-name>
> <param-value>myvalue</param-value>
> </param set>
>
> <servlet>
> <servlet-name>
> myservlet
> </servlet-name>
> <servlet-class>
> my.class
> </servlet-class>
> <init-param>
> <param set>param_set_name</param set>
> </init-param>
> </servlet>
> ........
>
> Is there yet anything like this or I'm asking for a necessity never found
> before?
> Thank's a lot to everyone
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]