Do I understand you correctly? You are not using the TapestryFilter? If not, you should. This is the place where the registry is built and enriched with all the stuff from the servlet API.
On Sat, Aug 28, 2010 at 6:07 PM, Rui Tang <tangrui...@gmail.com> wrote: > Hi there, > > I'm using T5 IoC independently. > > I'm developing a web application and having a ServletContextListener to > handle the webapp startup event. In this event, I use IOCUtilities to build > a registry. And then all services are defined. But in some of the services, > I want to inject the servlet context into it in order to get some > configuration parameters, but I found that can't (maybe I'm wrong) in the > way of using module build methods or contribution methods. According to the > tapestry-spring module, I find a ModuleDef type seems help. I want to know > if this is the common way to do this? Or should I use some other ways. Some > simple examples would be very appreciated. > > Thank you! > > -- > 唐睿 > -- Best regards, Igor Drobiazko http://tapestry5.de