I think you can use
 
static
{
}
 
block, too.  It will be executed when JVM loads the class.
 
Shogo

-----Original Message-----
From: derek harding [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 18, 2001 1:24 PM
To: [EMAIL PROTECTED]
Subject: bootstrapping in struts?


I am wondering if there is a way to include a bootstrap class using struts.
I know the web.xml is able to load a servlet on startup.  But is this the
only way to load classes on startup?
 
Thanks,
Derek

Reply via email to