> This is equivalent to the inclusion of the following element in the web 
> application deployment descriptor (/WEB-INF/web.xml):
>
> <context-param>
>   <param-name>companyName</param-name>
>   <param-value>My Company, Incorporated</param-value>
> </context-param>
>
> but does not require modification of the deployment descriptor to customize 
> this value.

That's correct but there's no way afaik to map a context parameter
onto a servlet init parameter like these mentioned previously:

>  <servlet>
> ...
>    <init-param>
>      <param-name>SERVA_PROPS</param-name>
>      <param-value>/WEB-INF/SERVA.properties</param-value>
>    </init-param>
>  </servlet>

In my experience the servlet needs to search both context parameters
and init parameters for initialization.

M

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to