SSH

................
<html:form action="user" method="post">
    <html:hidden property="operate" value="toList" />
<table class="query_form_table">
   <tr>
   <th>
用户名:
   </th>
   <td>
         <html:text property="user.usrName"></html:text>
   </td>
   <th>
状态
   </th>
   <td>
         <html:select property="user.usrFlag">
<html:option value="-1">全部</html:option>
<html:option value="0">已删除</html:option>
<html:option value="1">正常</html:option>
</html:select>
   </td>
   </tr>
   </table>
             .............
不知道是哪里出了错,就是报这个异常
2010-04-16 11:35:15,812 ERROR [org.apache.struts.actions.DispatchAction] - Request[/user] does not contain handler parameter named 'operate'.  This may be caused by whitespace in the label text.

解决方案 »

  1.   

    请求[/user]处理程序的参数不包含名为'usrName'的字段
    看看你的username  是不是掉了个e
      

  2.   

    This may be caused by whitespace in the label text. 有个空格在 parameter named 'operate'
    你看下! 第二行!
      

  3.   

      直接在action后面加参数可以跳转吗?试试看 或者把这个<html:hidden property="operate" value="toList" />改成 <input type="hidden" value="toList" name="operate"/>试一下
      

  4.   

    LZ  你copy别人的代码过来的是不?好像会出这样的问题