Hi Ryan, Indeed, when you rely on ServerServlet, the Application and parent VirtualHost are automatically updating the resourceRef's base and the root references.
When using the ServletConverter we just set the resourceRef's base reference. For the root reference, I was unsure about what to do, set the Servlet's context path without Servlet path or instead set the same value as the base reference. For now, I'm doing the latter and added getBaseRef() and getRootRef() methods to allow overriding of the default behavior. Let me know what you think. Best regards, Jerome > -----Message d'origine----- > De : Ryan Daum [mailto:[EMAIL PROTECTED] > Envoyé : jeudi 19 avril 2007 20:16 > À : [email protected] > Objet : getRequest().getRootRef() from ServletConverter > > I'm trying out the ServletConverter facility in 1.0.0, and > I'm running into an issue that's stumped me. > > From inside my Resource, I'm caling getRequest(), but the > rootRef attribute on it is coming back null. I assume the > root ref is something that the Application was responsible > for initiailzing? Now that I'm using ServletConverter, is > there some way to make sure this gets populated? > > -- > Ryan Daum > [EMAIL PROTECTED] > Senior Developer, Toronto > 647.724.5232 x 2073 >

