Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-85870

PortletRequestDispatcher.forward(RenderRequest,RenderResponse) does not forward to resources such as plain HTML document files

    Details

      Description

      Problem Background

      Calls to PortletRequestDispatcher.forward(RenderRequest,RenderResponse) are only able to forward to resources that are mapped to a servlet or JSP/JSPX documents (mapped to a default JSP servlet). Calls to resources such as plain HTML document files do not work because they are not mapped to a servlet.

      Steps to Reproduce

      1. Copy the attached com.liferay.test.lps 85870.portlet-1.0.0.war artifact to $LIFERAY_HOME/deploy
      2. Add the LPS-85870 portlet to a portal page
      3. Reload the page
      4. Click on the "Forward to HTML document" button

      Expected Results
      The portlet displays "LPS-85870 is fixed"

      Actual Results
      The portlet displays nothing.

        Attachments

          Activity

            People

            Assignee:
            peyton.zhao Peyton Zhao (Inactive)
            Reporter:
            neil.griffin Neil Griffin
            Participants of an Issue:
            Recent user:
            Csaba Turcsan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 41 weeks ago

                Packages

                Version Package
                7.1.10 DXP FP3
                7.1.1 CE GA2
                7.1.10.1 SP1
                7.1.X
                Master