When I submit the JSP form, I get 405 - Request method 'POST' not supported error message in IE.
The same application works fine in Google Chrome and Mozilla Firefox but throws error message in IE 6,7 and 8
My JSP:
<form:form name="create" action="submit.view" method="POST" commandName="xxx">
....
</form:form>
Controller:
@Controller
public class TicketController {
@RequestMapping(value = "/submit.view", method = RequestMethod.POST)
public ModelAndView submit(HttpServletRequest request,
HttpServletResponse response,
@ModelAttribute("xxx") Form TicketForm, BindingResult result)
throws Exception {
...
...
}
}
Can anyone explain why I get these error messages only in IE?
Atlast worked. The problem arised was in security. We had used NTLM, but when we changed to LDAP the issue got resolved. Not sure why NTLM didnt work. But issue got resolved