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

                 Key: STS-916
                 URL: http://www.stripesframework.org/jira/browse/STS-916
             Project: Stripes
          Issue Type: Bug
          Components: ActionBean Dispatching
    Affects Versions: Release 1.5.7
         Environment: WildFly 8.0.0.Final
            Reporter: Alessio Stalla


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.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to