I have noticed this same behaviour even with the servlet specified
only in one place. The init() method is always called on server
startup and then called again the first time the servlet is accessed.
- Original Message -
From: "Christian Sell" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Monday, August 21, 2000 12:32 PM
Subject: load-on-startup initialization called twice
> Hello,
>
> I have load-on-startup specified both in default-web-site.xml for the
> web-app and in web.xml for a servlet within the web-app. Now the init()
> method of the servlet gets called twice - once when the app is loaded at
> server startup, and once when the app is first accessed from the browser.
>
> Christian Sell
>
>