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

PortletRequestDispatcherImpl forwards to incorrect path

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.0.1
    • Fix Version/s: None
    • Component/s: portlet container
    • Labels:
      None
    • Environment:
      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. pluto-debug.txt
          12 kB
          Steve Potter
        2. test-portlet.zip
          8 kB
          Steve Potter
        3. test-portlet-mvc.zip
          17 kB
          Steve Potter

          Issue Links

            Activity

              People

              • Assignee:
                ngriffin7a Neil Griffin
                Reporter:
                riverbed2 Steve Potter
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

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