请看下面的两个链接:
http://test.cntmi.cn/zysy/SystemSet.do?action=ds主要功能是先取出值放到  SystemSetForm 中,进入可编辑状态。可是使用VALIDATOR后,访问这个功能时,出现 Version is required. jsp页面代码如下:
<html:form action="/SystemSet.do?action=mod" method="post">
<bean:message key="system.version"/>
<html:text property="version" size="30" maxlength="100"></html:text><br>
<html:text property="sitename" size="30" maxlength="100"></html:text><br>
<html:text property="sitedesc" size="30" maxlength="100"></html:text><br>
<html:submit ><bean:message key="public.form.submit" /></html:submit>
</html:form>SystemSetForm.javapublic class SystemSetForm extends ValidatorForm{.....}SystemSetAction.java: if(action.equals("ds")){
    sysForm.setVersion(si.version);
    sysForm.setSitename(si.SITENAME);
    sysForm.setSitedesc(si.sitedesc);
    request.setAttribute("SystemInfo",sysForm);
    return mapping.findForward("success");
}validate.xml:
    <formset>
<form name="SystemSetForm">
<field property="version" depends="required">
<arg0 key="system.version"/>
</field>
         </form>
    </formset>Struts-config.xml:
       <action
            attribute="SystemSetForm" input="/System/SystemSet.jsp" name="SystemSetForm" path="/SystemSet" scope="request" type="com.cntmi.action.SystemSetAction" validate="true">
            <forward name="success" path="/System/SystemSet.jsp" />
        </action>
不知是不是我写的有问题,我想在提交时再验证,应该如何做呢?