On Thu, Nov 16, 2006 at 03:47:09PM -0000, confusionvalley wrote:
> I didn't told you earlier but my objective is to test a webapp that I already 
> have. And I really didn't want to change that webapp or create another webapp 
> to make all the fault-injection stuff. Do you think that creating another 
> webapp is really the best solution? 
> If the best solution is to create a new webapp how should i create that *new* 
> webapp? A simple servlet with an init() method (starting when the server 
> starts) that creates the thread and all the fault-injection code? Or do you 
> have any other idea for me?

Make your servlet implement the ServletContextListener, then you may
even inject it into the existing webapp by copying the class file there
and adding a <listener>your.servlet</listener> to the web.xml of the
webapp.

Bye,

Tino.

-- 
www.quantenfeuerwerk.de
www.spiritualdesign-chemnitz.de
www.lebensraum11.de

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to