A new instance of each servlet is created for each way you access
the servlet (i.e. for each ServletName you assign, one for the servlet
invoker, etc). For each new instance, the init method is called.
Randy
-----Original Message-----
From: Scott Walter [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 07, 2001 4:41 PM
To: [EMAIL PROTECTED]
Subject: Servlet init method called twice
If I have a servlet that I have setup as
load-on-startup the init() method is called twice.
However if remove the load-on-startup and call the
servlet manually the init() method is called once.
Any clues?
thanks,
scott.
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices.
http://auctions.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]