You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Alex Colic <al...@pop-ware.com> on 2001/07/30 20:36:39 UTC

why is servlet.init method being called twice.

Hi, I created a base actionservlet class that in its init method, the first
thing it does is call super.init(). In this base class I set up common
settings for all my web apps.

I then created a series of classes that all extend my base ActionServlet
class and in their init method  the first thing they call is super.init.

The problem is that as my webapps start the init methods in all three
classes are being called twice? Is this correct?

Alex