Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-1478

Forward attributes not present in error pages

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 2.0.17.Final, 1.4.18.SP12
    • 2.0.16.Final
    • Servlet
    • None

    Description

      Error pages are not receiving the forward attributes (javax.servlet.forward.XXXX) but only the error attributes (javax.servlet.error.XXXX).

      The problem seems to be that the request displatcher impl is using a specific method error that does not add those attributes (check class RequestDispatcherImpl). In previous EAP 6 error pages also used the forward method and then the attributes were there.

      Note that the servlet spec 3.1 chapter 10.9.1 says that those forward properties should be present in error pages: "The request path and attributes are set as if a RequestDispatcher.forward to the error resource had been performed."

      Attachments

        Issue Links

          Activity

            People

              sdouglas1@redhat.com Stuart Douglas
              rhn-support-rmartinc Ricardo Martin Camarero
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: