struts用form的表单数据
填充name的ActionForm类
input指向表单页面
name指向ActionForm
示例:
<action path="/EntInfoEdit"
type="com.huilin.cbc.action.EntInfoEditAction" name="entInfoForm"
scope="request" validate="false" input="/cbcEnterpriseInfoEdit.vm">
<forward name="successful"
path="/cbcEnterpriseInfoQuery.do" />
action通过 name="fenleiForm" 这个属性来找到form
struts 裡的 form 主要用來 做数据 校验、转换 以及使用前清空
全局的forward与action里的forward仅仅是范围上的区别
全局的可以被其他action找到,而action里的只能被自己找到
记录一下,改天再慢慢理解!
填充name的ActionForm类
input指向表单页面
name指向ActionForm
示例:






action通过 name="fenleiForm" 这个属性来找到form
struts 裡的 form 主要用來 做数据 校验、转换 以及使用前清空
全局的forward与action里的forward仅仅是范围上的区别
全局的可以被其他action找到,而action里的只能被自己找到
记录一下,改天再慢慢理解!