Re: How to obtain rootRef from the Application?

2010-06-21 Thread Bruno Harbulot
Hi, On 19/06/10 15:34, Thierry Boileau wrote: > Hello Kevin, > > at this time, the application is instantiated and attached, when handling the > first request. The main reason is that the context path of the app is not > known by advance. > You can still get this value as follow: > ServletContex

RE: How to obtain rootRef from the Application?

2010-06-19 Thread Thierry Boileau
Hello Kevin, at this time, the application is instantiated and attached, when handling the first request. The main reason is that the context path of the app is not known by advance. You can still get this value as follow: ServletContext context = (ServletContext) getContext().getAttributes()

How to obtain rootRef from the Application?

2010-06-18 Thread kevinpauli
.getRootRef(). But by then it is too late, I need it earlier so that I can wire everything up. So is there a nice way to get the rootRef just from the application at startup, before a request comes in? -- View this message in context: http://restlet-discuss.1400322.n2.nabble.com/How-to-obtain-roo