67,549
社区成员




<form id="actform" method=post action="activeEmail.do" >
<input type="hidden" id="email" name="email" value="${account.email}">
<input type="hidden" id="pwd" name="pwd" value="${account.pwd}">
</form>
[WARN ]?? 2013-12-17 16:39:53,510 method:org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver.handleHttpRequestMethodNotSupported(DefaultHandlerExceptionResolver.java:194)
Request method 'GET' not supported
@RequestMapping(value = "user/activeEmail", method = RequestMethod.POST)
public String activeEmail(@RequestParam("email") String email,
@RequestParam("pwd") String pwd,
HttpSession session,RedirectAttributes model,
HttpServletRequest request) {
.........
}
我都有在controller里面定义了相应的方法了,但是不知道怎么回事,没有进这个方法
因为我没有写相应的get方法,所以就报405错误了
HTTP Status 405 - Request method 'GET' not supported
type Status report
message Request method 'GET' not supported
description The specified HTTP method is not allowed for the requested resource.
Apache Tomcat/6.0.37