On Wed, 27 Jun 2001, Julia Kuznetsov wrote:

> I need to load couple xml files into memory and store them in
> ServletContext when my application starts. I created a servlet to do
> that, but I can't figure out how to make this servlet run
> automatically whem the app starts.  Is there smthg in server.xml
> that I can define to run this servlet?

If I understand you right, you can put a load-on-startup tag in the
servlet definition tag in the context's web.xml file to take care of
this.

Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]

Reply via email to