你是用什么东西做的验证,是struts的吗?

解决方案 »

  1.   

    struts-config.xml里面这样写的
            <action
                attribute="shoppingForm"            
                name="shoppingForm"
                path="shoppingUpdate"
                scope="request"
                type="moneyNote.shoppingUpdateAction"
                validate="true">
                <forward name="success" path="/web/shoppingList.jsp" />
            </action>
    怎么看都没什么问题呀