struts 关于 validator 使用的问题
我总是报这个错
No form found under 'featureForm' in locale 'zh_CN'
struts-config.xml 中部分配置如下
<form-beans>
<form-bean name="featureForm" dynamic="true" type="org.apache.struts.action.DynaActionForm">
<form-property name="shop_feature_id" type="java.lang.String" />
<form-property name="shop_feature" type="java.lang.String" />
</form-bean>
</form-beans>
validation.xml 部分配置如下
<formset>
<form name="featureForm">
<field property="shop_feature" depends="required">
<arg0 key="label.shop_feature"></arg0>
</field>
</form>
</formset>
JSP页面部分代码如下
<html:javascript formName="featureForm" />
</head>
<body>
<html:errors/>
<html:form onsubmit="return validatefeatureForm(this);" method="post" action="featureOption.do?method=add" >
……
谁能告诉我错在哪里了?