Using PUT and DELETE methods in Spring MVC
Most browsers do not support action=PUT
in HTML forms. They will just send POST
requests instead. The HiddenHttpMethodFilter will help you get around the problem, but you have to include a hidden field _method=PUT
in your form. If you use the spring:form taglib this will be done automatically for you, but your example seems to use plain HTML.
The NoSuchBeanDefinitionException
is most probably an unrelated problem.
You should change your config.
<servlet-name>/*</servlet-name>
to
<servlet-name>[dispatch servlet name]</servlet-name>