Other locations that come to mind are: a servlet context listener,
overriding the init() method of the Tapestry servlet, or the global
object facility.
Paul
Erik Hatcher wrote:
On May 2, 2005, at 3:03 PM, sastan wrote:
Hello,
i want to initialize something (e.g. do some work) before the first
page
renders. How and where should i do this? Where can i add something to
the application start up?
I'm using 3.0.3.
You can register an <extension> in .application that initializes
right away (see the DTD for the exact flag, don't have it at hand,
sorry).
Or you could do it the old fashioned way with a load-on-startup servlet.
Erik
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]