Re: newby user: processing when the server launches

2007-10-14 Thread Juha Laiho
On Fri, 12 Oct 2007, HODAC, Olivier wrote: I am developping my first webapp, and I need to do things at the server launching step. I understood that when a client sends the first request to the server, it loads the required classes and instanciates them. So, I have to wait for the first

RE: newby user: processing when the server launches

2007-10-12 Thread Peter Crowther
From: HODAC, Olivier [mailto:[EMAIL PROTECTED] In my application, I have to perform stuff when the server starts. Where do I have to put this code? Define and use a servlet context listener. This will run as your webapp starts up.

newby user: processing when the server launches

2007-10-12 Thread HODAC, Olivier
Hello, sorry for this newby question. I am developping my first webapp, and I need to do things at the server launching step. I understood that when a client sends the first request to the server, it loads the required classes and instanciates them. So, I have to wait for the first