Scott Ferguson wrote: <snip> > Oh. I see. Take a look at com.caucho.security.SecurityContext. You > can try: > > HttpServletRequest request > = (HttpServletRequest) > com.caucho.security.SecurityContext.getProvider(); > > You could also try: > > WebBeansContainer webBeans = WebBeansContainer.getCurrent(); > ServletContext webApp = webBeans.getByType(ServletContext.class); > > As Serge mentioned, you can also create a filter that stores the > context in a ThreadLocal. If you do that, make absolutely certain you > clear the ThreadLocal at the end of the filter otherwise very bad > things will happen. (Basically GC and web-app reloading will break > horribly.) > > -- Scott > <snip> Thanks guys! It works!
-- Vic Simkus Department of Neurology, UIC 912 South Wood St. Room 855N Chicago IL 60612 _______________________________________________ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest