@RequestMapping( method = RequestMethod.POST) after submit got HTTP Status 405 - Request method 'POST'
<p>Hi I have a  wired behavior in this controller. I have two methods Get to prepare information to show in html form and POST to get de submit:</p>

<p><strong>Controller:</strong></p>

<pre><code>@Controller
public class NotificationController {

    final String  JSP_NOTIFICATION_01="pages/sendPush/createNotification";
    final String  JSP_NOTIFICATION_02="pages/sendPush/createNotificationStep2";


    @RequestMapping(value ="/admin/notification/newNotification",method = RequestMethod.GET)
    public String newNotification( Map&lt;String, Object&gt; model, HttpServletRequest request) {

        //prepare  info to fill html form

        request.getSession().setAttribute("notificacion", notification);
        return JSP_NOTIFICATION_01;
    }


    @RequestMapping( value ="/admin/notification/sendNotification", method = RequestMethod.POST)
    public String saveNotification(@ModelAttribute("notForm") SendNotificationModel notForm,
                                      Map&lt;String, Object&gt; model,HttpServletRequest request) {


        //Get all information from HTML form

        System.out.println("llego.."+resultado);

        model.put("resultado", resultado);

        return JSP_NOTIFICATION_02;
    }   
}
</code></pre>

<p><strong>JSP</strong></p>

<pre><code>        &lt;form:form action="${pageContext.request.contextPath}/admin/notification/sendNotification" method="post" commandName="notForm"&gt;
                &lt;form:hidden path="clientName"  /&gt;
                &lt;form:hidden path="clientCode"  /&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;topics:&lt;/td&gt;
                &lt;td&gt;&lt;form:select path="topics" items="${topicList}" /&gt;&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;users:&lt;/td&gt;
                &lt;td&gt;&lt;form:select  multiple="true" path="users" items="${userList}"  /&gt;&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;Tipo de despliege :&lt;/td&gt;
                &lt;td&gt;&lt;form:select path="tipoNotificacion" items="${tipoNotificacionList}" /&gt;&lt;/td&gt;
            &lt;/tr&gt;

        &lt;/table&gt;
            &lt;tr&gt;
                &lt;td colspan="2" align="center"&gt;&lt;input type="submit" value="Enviar" /&gt;&lt;/td&gt;
            &lt;/tr&gt;
        &lt;/table&gt;

    &lt;/form:form&gt;
</code></pre>

<p>After submit the POST method Receive the request as always, but after the return spring throw 405 error :</p>

<pre><code>HTTP Status 405 - Request method 'POST' not supported
type Status report
message Request method 'POST' not supported
description The specified HTTP method is not allowed for the requested resource.
</code></pre>

<p>I'm using Spring  4.1.3 and tomcat8</p>

<p>thanks!!!</p>