Well, I'm using servlets 2.2, so both ServletContextListener and Filters are out.

Now, as for the first idea, even if I designate that the servlet which I will use to 
do that initialization starts before the struts controller. Do I guarantee that all 
initializations done by this servlet will be finished before the application receives 
any requests?

This is very important, actually.

Thanks

-----Original Message-----
From: Dmitri Ilyin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 06, 2003 4:09 PM
To: Struts Users Mailing List
Subject: Re: Application Startup


You can use Filter also, just do what you need at the first request

Dmitri

----- Original Message -----
From: "Heligon Sandra" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Thursday, February 06, 2003 3:01 PM
Subject: RE: Application Startup


> The problem with the ServletContextListener is that we can not
> display error to the client if an error occur, isn'it ?
>
>
> -----Original Message-----
> From: Robert Taylor [mailto:[EMAIL PROTECTED]]
> Sent: 06 February 2003 14:35
> To: Struts Users Mailing List
> Subject: RE: Application Startup
>
>
> Use a Servlet and designate it to load on start up, or if Servlet2.3 spec,
> look a ServletContextListener.
>
> robert
>
> > -----Original Message-----
> > From: Tarek M. Nabil [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, February 06, 2003 8:14 AM
> > To: Struts (E-mail)
> > Subject: Application Startup
> >
> >
> > Hi everyone,
> >
> > I'm using Struts 1.0.2.
> >
> > I need to do some stuff on application startup. I consulted the
> > documentation, and noticed that there's support for such a thing
> > in Struts 1.1. No mention of it in 1.0.2, though.
> >
> > Is there a way I can do some action on application startup in
> > Struts 1.0.2.
> >
> > Please advise,
> >
> > Thanks,
> >
> > Tarek M. Nabil
> >
> > ---------------------------------------------------------------------
> > 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]
>
> ---------------------------------------------------------------------
> 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]

Reply via email to