当前位置: 代码迷 >> 人工智能 >> does not contain handler parameter named 'method' 错误
  详细解决方案

does not contain handler parameter named 'method' 错误

热度:5756   发布时间:2013-02-26 00:00:00.0
does not contain handler parameter named 'method' 异常

jsp文件中有一个form,

<form action="wapAddressAction.do?method=saveSelect" >

</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.

解决办法:

最后在form里面加了一个 method="post"就可以了

  相关解决方案