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.
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.
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
3 matches
Mail list logo