jsp页面代码:<html:form action="/deptManager.do?method=${action}" method="post">
<html:hidden property="deptId"/>
<table>
<tr>
<td>用户组编码:<br></td>
<td><html:text property="deptLevel" readonly="true"/></td>
</tr>

<tr>
<td>部门名称:<br></td>
<td><html:text property="deptName" size="30"/><br></td>
</tr>
<tr>
<td>职能类型: </td>
<td>
<html:select property="deptType">
<html:option value="0">申报数据</html:option>
                    <html:option value="1">审核数据</html:option>
                    <html:option value="2">批复数据</html:option>
</html:select>  
</td>
</tr>
<tr>
<td>描述:<br></td>
<td><html:textarea property="deptDes" rows="4" cols="29"/><br></td>
</tr>
<tr align="center">
<td colspan="3"><html:submit value="确定" onclick="doAdd('${action}')"/>&nbsp;&nbsp;&nbsp;&nbsp;<input type="Button" name="buttonCancel" value="取消" onclick="doCancel()"/> </td>
</tr>
</table>
</html:form>actionForm代码:public class DeptForm extends ActionForm{ // Fields /**
 * TODO 请添加注释。
 */
private static final long serialVersionUID = 6820638363088895493L;
private String deptId;
private String deptName;
private String deptLevel;
private String deptType;
private String deptDes;
@SuppressWarnings("unchecked")
private Set sysUsers = new HashSet(0);get和set方法当然有}配置文件:<form-bean name="deptForm" type="com.pims.module.user.vo.DeptForm"/>
<action attribute="deptForm"
      input="/doc/user/dept_add.jsp"
      name="deptForm"
      parameter="method"
      path="/deptManager"
      scope="request"
      type="org.springframework.web.struts.DelegatingActionProxy"
      validate="false" >
      <forward name="deptList" path="/doc/user/user_manager.jsp" />
    </action>action修改方法:public ActionForward modifyDeptNode(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response) {
DeptForm deptForm = (DeptForm)form;
SysUserDept dept = new SysUserDept();
try {
BeanUtils.copyProperties(dept, deptForm);
deptService.modifyDept(dept);
} catch (BusinessServiceException e) {
e.printStackTrace();
} catch (IllegalAccessException e) {
e.printStackTrace();
} catch (InvocationTargetException e) {
e.printStackTrace();
}
return mapping.findForward("deptList");
}
当然此action继承自DispatchAction我在action类中打断点看,actionform中的属性值全是null,郁闷啊,哪位高手给指点下,谢谢!!