[jira] [Commented] (PLUTO-781) PortletRequestDispatcherImpl forwards to incorrect path

"Steve Potter (Jira)" <[email protected]> Thu, 5 Sep 2019 08:30:00 +0000 (UTC)
Newsgroups gmane.comp.jakarta.pluto.devel
Message-ID <[email protected]>
    [ https://issues.apache.org/jira/browse/PLUTO-781?page=3Dcom.atlassian.=
jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D16923=
185#comment-16923185 ]=20

Steve Potter commented on PLUTO-781:
------------------------------------

Neil, Thanks for the rapid reply.=C2=A0 I will try upgrading to a later ver=
sion of Spring.=C2=A0 However the log submitted is from a test configuratio=
n that does not use Spring but attempts to reproduce the flow used by Sprin=
g with a minimal resource request that forwards to a servlet which then for=
wards to a JSP.=C2=A0 Is it your view that this is not a supported flow for=
 portlet request processing?=C2=A0 I am happy to supply the test portlet an=
d servlet if that would help.

> PortletRequestDispatcherImpl forwards to incorrect path
> -------------------------------------------------------
>
>                 Key: PLUTO-781
>                 URL: https://issues.apache.org/jira/browse/PLUTO-781
>             Project: Pluto
>          Issue Type: Bug
>          Components: portlet container
>    Affects Versions: 3.0.1
>         Environment: Pluto Container 3.0.1, Spring 4.0.9.RELEASE, Wildfly=
 14.0.1
>            Reporter: Steve Potter
>            Assignee: Neil Griffin
>            Priority: Major
>         Attachments: pluto-debug.txt
>
>
> When a serveResource method forwards to a servlet which then forwards to =
a jsp, the=C2=A0 HttpServletPortletRequestWrapper provides the path from th=
e first forward rather than the second forward and the jsp is not rendered.
> This is the process used by Spring Portlet MVC to locate JSP 'views' resu=
lting in the failure of all our portlets when trying to serve JSP's in resp=
onse to resource requests.
> The attached file contains a DEBUG log of the processing flow attempting =
to serve '/WEB-INF/jsp/resource2.jsp' in response to a resource request.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)