posted 10 years ago
Hi,
I am using Spring MVC.
login.jsp
<form:form action="home.html" method="POST" commandName="user">
LoginController.java
@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.
I should use post method not to display password & other data in URL.
How to handle it?