Uploaded image for project: 'Pluto'
  1. Pluto
  2. PLUTO-781

PortletRequestDispatcherImpl forwards to incorrect path

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.1
    • 3.1.1
    • portlet container
    • None
    • Pluto Container 3.0.1, Spring 4.0.9.RELEASE, Wildfly 14.0.1

    Description

      When a serveResource method forwards to a servlet which then forwards to a jsp, theĀ  HttpServletPortletRequestWrapper provides the path from the 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' resulting in the failure of all our portlets when trying to serve JSP's in response 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.

      Attachments

        1. test-portlet-mvc.zip
          17 kB
          Steve Potter
        2. test-portlet.zip
          8 kB
          Steve Potter
        3. pluto-debug.txt
          12 kB
          Steve Potter

        Issue Links

          Activity

            People

              ngriffin7a Neil Griffin (Inactive)
              riverbed2 Steve Potter
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m