does not contain handler parameter named 'method' 异常

2014-11-24 11:33:02 · 作者: · 浏览: 4
jsp文件中有一个form,
点击提交按钮,提示异常:
org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet action threw exception
javax.servlet.ServletException: Request[/wap/wapAddressAction] does not contain handler parameter named 'method'. This may be caused by whitespace in the label text.
解决办法:www.2cto.com
最后在form里面加了一个 method="post"就可以了