Got it. Thanks!
On Tue, 2004-07-13 at 15:44, Emmanouil Batsis wrote:
> Martin I. Levi wrote:
>
> > Is this a better solution than mine?
>
> Although I often use servlets for initialization, Paul's suggestion is
> better because ServletContextListener was designed exactly for
> initialization/f
implements
javax.servlet.ServletContextListener.
This requires a container supporting Servlet 2.3.
Paul
-Original Message-
From: Martin I. Levi [mailto:[EMAIL PROTECTED]
Sent: 13 July 2004 12:47
To: Struts Users Mailing List
Subject: Initialization stuff
Hi!
I would like to call an
OTECTED]
> > Sent: Tuesday, July 13, 2004 1:47 PM
> > To: Struts Users Mailing List
> > Subject: Initialization stuff
> >
> >
> > Hi!
> >
> > I would like to call an initialization class when my web
> > application is loaded in the containe
Martin I. Levi wrote:
Is this a better solution than mine?
Although I often use servlets for initialization, Paul's suggestion is
better because ServletContextListener was designed exactly for
initialization/finalization purposes.
Using the right tool for the job is a good practice even if you g
ginal Message-
> > From: Martin I. Levi [mailto:[EMAIL PROTECTED]
> > Sent: 13 July 2004 12:47
> > To: Struts Users Mailing List
> > Subject: Initialization stuff
> >
> >
> > Hi!
> >
> > I would like to call an initialization class when my web
st
> Subject: Initialization stuff
>
>
> Hi!
>
> I would like to call an initialization class when my web
> application is
> loaded in the container to perform some extra init tasks. How should I
> do this?
> My idea was to subclass the ActionServlet and override the
Struts Users Mailing List
> Subject: Initialization stuff
>
>
> Hi!
>
> I would like to call an initialization class when my web
> application is loaded in the container to perform some extra
> init tasks. How should I do this? My idea was to subclass the
> ActionS
Hi!
I would like to call an initialization class when my web application is
loaded in the container to perform some extra init tasks. How should I
do this?
My idea was to subclass the ActionServlet and override the init method,
is this ok or is there a better way to do this?
Any help is welcome.
8 matches
Mail list logo