tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Hagedorn <>
Subject Re: Setting context parameters with XML files?
Date Tue, 05 Sep 2000 17:05:28 GMT

as far as I understood the documentation this is done in the 'web.xml'
in the WEB-INF directory of each context. In this way you can set
different context parameters for different applications (if they run in
different contexts -of course)

hope it helps

Am Die, 05 Sep 2000 schrieben Sie:
> Is it possible to set context parameters using one of the .xml files?  If
> so, how is it done?
> Right now I'm using a servlet that loads on tomcat start-up and calls
> getServletContext().setAttribute(name, value);.
> This works, but seems kind of clumsy.
> Thanks in advance,
> Brian King

View raw message