You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Justin Edelson (JIRA)" <ji...@apache.org> on 2011/05/05 23:41:04 UTC

[jira] [Commented] (SLING-2073) query parameters passed to servletContext.getRequestDispatcher() aren't visible in the included servlet/JSP

    [ https://issues.apache.org/jira/browse/SLING-2073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13029588#comment-13029588 ] 

Justin Edelson commented on SLING-2073:
---------------------------------------

fixed in r1099977 by unwrapping to the last servlet request/response *before* SlingHttpServletRequestImpl / SlingHttpServletResponseImpl

> query parameters passed to servletContext.getRequestDispatcher() aren't visible in the included servlet/JSP 
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: SLING-2073
>                 URL: https://issues.apache.org/jira/browse/SLING-2073
>             Project: Sling
>          Issue Type: Bug
>          Components: Engine
>    Affects Versions: Engine 2.2.2
>            Reporter: Justin Edelson
>            Assignee: Justin Edelson
>             Fix For: Engine 2.2.4
>
>
> According to the servlet spec, when running code like this:
> RequestDispatcher rd = servletContext.getContext("/other").getRequestDispatcher("/page.jsp?foo=bar");
> rd.include(request, response);
> the foo parameter is supposed to be visible in the included servlet/JSP.
> But in Sling, this is not the case - the included servlet/JSP doesn't see the request parameter foo.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira