StripesFramework/stripes — pull request #4 by xhaggi (2014-04-03 11:25:44+00:00)
Title: fix: detecting a non-existing resource for POST requests on wildfly 8 (STS-916)

this fix issue STP-916 (http://www.stripesframework.org/jira/browse/STS-916)

> 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.