Hi Ryan, This is a bug that I've just fixed. I have uploaded a snapshot with the fix which is also available in SVN. Let me know if it let's you get the ServletContexAdapter (and associated ServletContext) as before: http://www.restlet.org/downloads/1.0/current.zip
Best regards, Jerome > -----Message d'origine----- > De : Ryan Daum [mailto:[EMAIL PROTECTED] > Envoyé : vendredi 9 mars 2007 22:14 > À : [email protected] > Objet : Possible bug in ServerServlet? > > Line 197 sets the context of the created application to a > ServletContextAdapter; however this only happens in the case > that a NoSuchMethodException is triggered by the attempt to > create the Application through its constructor. Thus if one > has a valid constructor on the Application, one does not get > a ServletContextAdapter, just a plain ApplicationContext. > > Is this intentional? It seems errant... > > -- > Ryan Daum > [EMAIL PROTECTED] > Technical Lead, Toronto > 647.724.5232 x 2073 >

