Closed
Description
Arjen Poutsma opened SPR-5267 and commented
Browsers only support GET and POST in HTML forms. A common technique to use the other HTTP methods (PUT and DELETE) - used by Prototype and RubyOnRails, for instance - is to use POST instead, and pass an additional request parameter (typically _method) with the desired HTTP method.
We should support this mechanism in Spring MVC. This involves two parts:
- Adding support for PUT and DELETE in the spring:form tag.
- Support the hidden _method parameter in on server side infrastructure, either through a Servlet filter, or more deeply embedded in the DispatcherServlet infrastructure.
This issue is a sub-task of #9097