One of hundreds of answers available with our premium content service.
A: To request a servlet is initialised when the container starts up, add the load-on-startup element to the web.xml file in your WEB-INF directory, as below. Any positive integer value will signal start up initialisation.
… full answer hidden
Premium members click below for full answer
How do I load a servlet at start-up?