[jira] [Commented] (PLUTO-781) PortletRequestDispatcherImpl forwards to incorrect path
"Neil Griffin (Jira)" <[email protected]> Wed, 4 Sep 2019 15:58: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=3D16922=
623#comment-16922623 ]=20
Neil Griffin commented on PLUTO-781:
------------------------------------
[~riverbed2]: Thanks for creating this issue. Would it be possible for you =
to upgrade one of your Spring Portlet MVC projects to [PortletMVC4Spring|ht=
tps://github.com/liferay/portletmvc4spring]?
The PortletMVC4Spring project has been tested with Apache Pluto and is comp=
atible with Portlet 3.0 (the version of the Portlet API that is implemented=
by Pluto 3.x). The project also includes a demo that uses the RESOURCE_PAH=
SE (resource requests) to navigate between JSP views, which sounds like the=
use-case you are describing. For more info, see [TermsController.java| htt=
ps://github.com/liferay/portletmvc4spring/blob/master/demo/applicant-jsp-po=
rtlet/src/main/java/com/liferay/portletmvc4spring/demo/applicant/jsp/contro=
ller/TermsController.java] in the applicant-jsp-portlet demo.
In fact, I recommend that you download the [com.liferay.portletmvc4spring.d=
emo.applicant.jsp.portlet-5.1.0.war| https://search.maven.org/search?q=3Dap=
plicant-jsp-portlet] artifact and copy it to $PLUTO_HOME/tomcat/webapps and=
see if you can get it working in your environment.
> 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)