2011/1/31 alexis <alz...@gmail.com>: > actually im already using a class extending servletcontextlistener, this > class is the responsible to start all other threads on processing. Some > threads stores results on a DB, some threads should store results in an > object to be accesed by a servlet and presented via web. > > If i use the a) approach and i use it as Listener, how can i access this > class from other threads/classes on my webapp?
ServletContext#setAttribute(String,Object) ServletContext#getAttribute(String) --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org