Uploaded image for project: 'Stripes'
  1. STS-916

DynamicMappingFilter, WildFly (JBoss AS 8) and method not supported

    Details

    • Sprint:

      Description

      DynamicMappingFilter detects a non-existing resource by catching FileNotFoundException and by controlling whether the HTTP return code for the resource is 404. Unfortunately, in WildFly, the default servlet returns 405 (method not allowed) for POST requests; therefore DynamicMappingFilter does not invoke any Stripes action for those requests, returning 405 to the client instead.

      Since the DispatcherServlet understands both GET and POST, imho 405 should always be interpreted as resource not found as well, and the request handled with the DispatcherServlet.

        Attachments

          Activity

            People

            • Assignee:
              vankeisb R
              Reporter:
              alessiostalla alessioc
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: