Howard, look at javax.servlet.ServletContextListener. It is a bootstrap class for servlet containers. If you wanted to use servlets you could override ActionServlet.init() or create your own bootstrap servlet or use Struts plug ins.
I use ServletContextListener because it is a standard way for bootstrapping web applications and init parameters can be defined in web.xml. robert > -----Original Message----- > From: Howard Miller [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 15, 2002 9:51 AM > To: '[EMAIL PROTECTED]' > Subject: Initialisation > > > Errr... stupid newbie question coming up. > > If I want to create objects in the Application Scope the design notes for > Struts says.... "application scope beans are initialized in the init() > method of a startup servlet". > > But, and I'm sure I'm missing something here, I haven't got an > init() method > because the servlet belongs to Struts. So where do I put my > innitialisation > code? > > I noticed plugins in earlier posts, but there isn't any > documentation that I > can find - is this what I'm looking for? > > Sounds like a fundamental thing to want to do, which is why I'm sure I'm > missing something really obvious! > > Cheers... > > Howard > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

