2011/7/22 Mihai Caraman <caraman.mi...@gmail.com>: > The final behavior that I'm looking for is to have a servlet that is ran by > tomcat, but at the same time, have access to static objects in the class > that is now used as a Listener. This is needed for repetitive testing > without having to wait for the server redeploying.
I do not get you - how do you plan to survive deployment? To share an object between a listener and a servlet in the same webapp the usual way is to use ServletContext.setAttribute(). Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org