Register / Login
Win a copy of
Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA)
this week in the
How to handle POST method in Spring MVC?
posted 3 years ago
I am using Spring MVC.
<form:form action="home.html" method="POST" commandName="user">
@RequestMapping(value = "/login",method = RequestMethod.POST)
Run in tomat & IE ,getting error as
Request method 'POST' not supported
The specified HTTP method is not allowed for the requested resource.
use post method not to display password & other data in URL.
How to handle it?
It is sorta covered in the
JavaRanch Style Guide
How to handle 'Success Messages' in Spring MVC in a manner similar to 'Error Messages'
how to pass parameters between methods using Spring MVC
How to submit a request in order to handled by doHead ?
Spring MVC with Acegi Security
can One webapp contain Spring MVC and Spring RESTFul services