Re: Servlet Connector and passing per-request attributes

2007-06-16 Thread Jerome Louvel
Hi Leigh, I've implemented the suggested change on the ServletConverter class only. The code is checked in SVN trunk. However, I'm relunctant to extend this to the ServletServlet itself because the target Restlet Application would loose its portability to a standalone Restlet container.

Re: Servlet Connector and passing per-request attributes

2007-06-12 Thread Jerome Louvel
Leigh, Thanks for the detailled background info. You current workaround works but is indeed not very satisfactory. A better way would be to use the Restlet's Request.getAttributes() method and to automatically copy any Servlet's request attribute in the Restlet's request attributes map.

Servlet Connector and passing per-request attributes

2007-06-11 Thread Klotz, Leigh
I'm trying out Restlets in a Tomcat servlet container. As part of the integration testing, I'm using an existing servlet to establish authentication and resource access tokens, then using the servlet API servletContext.getRequestDispatcher(location).forward(request, response) to forward to a