Hi Christy,

Could you inspect the "request" variable that you pass to the getRequest() 
static method and tell me its full class name?

Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.restlet.org
Noelios Technologies ~ Co-founder ~ http://www.noelios.com
 

-----Message d'origine-----
De : [email protected] [mailto:[email protected]] 
Envoye : vendredi 30 janvier 2009 20:51
A : [email protected]; Jerome Louvel
Objet : RE: from the org.restlet.data.Request, get the HttpServletRequest

Hi Jerome, can you confirm that this works if your using 
com.noelios.restlet.ext.spring.SpringServerServlet ?

When I call the following from the Resource init 


        final HttpServletRequest httpReq = ServletCall.getRequest(request);


I get a null response?  If this is not appropriate can you suggest an 
alternative?

Thanks,
Christy.

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=1076226

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=1079843

Reply via email to