Request[/lahei] does not contain handler parameter named 'method'. This may be caused by whitespace in the label text.
这意思是说在网页的lahei这个do里面没有写一个method。怎么回事,最终发现,关键问题是action里面因为复制的letgo里面的内容,而这个action对应的页面在调用action时候里面是写了method的,
<a href='***.do?method=do&wid=${requestScope.** }'>
[通过]</a>
而在lahei这个页面里面是用了form表,里面写了lahei.do,里面没有写method。
再来看action里面的内容:
public ActionForward do(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response)
throws Exception {
所以要把上线原来laheiaction里面的部分给替换掉成下面的部分,就可以了。
public ActionForward execute(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response)
throws Exception {