好像都没有映射为"/selectWorkspaceProcess.do的action,去哪里找 呢?把onsubmit先去掉可以吗?

解决方案 »

  1.   

    这个是我贴错了,work.jsp内容是这样得:
    <html:form    action="/testOnLoad.do"    onsubmit="return    validatetestWorkForm(this);">      
         <table    border="0">      
                 <tr>      
                         <td>      
                             <label>      
                                         <bean:messagekey="title.test"/>      
                         </label>      
                         </td>      
                         <td>      
                         <html:select    property="testName">      
                         <option    value=""><bean:message    key="label.test"/></option>      
                         <html:options    collection="result"    property="name"    labelProperty="name"/>      
                         </html:select>      
       
                                 <html:submit    styleClass="button"><bean:message    key="button.test"/></html:submit>      
                         </td>      
                 </tr>      
         </table>      
       
    </html:form>      
      

  2.   

    自己解决了,居然是在struts-config文件中忘了加:
    <form-beans type="org.apache.struts.action.ActionFormBean">
          ......
    </form-beans>
    大家一定要细心一点,别学我~~~