struts2.1 验证框架 嵌套验证

    struts.xml

 

    view plaincopy to clipboardprint?    <?xml version="1.0" encoding="UTF-8"?>

    <!DOCTYPE struts PUBLIC

        "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"

        "http://struts.apache.org/dtds/struts-2.0.dtd">

    <struts>

        <package name="StrutsRE" extends="struts-default">

            <action name="ActionVld" class="org.strutRE.action.ActionVld">

                <result>index.jsp</result>

                <result name="input">/actionVld.jsp</result>

            </action>

            <action name="ActionVldV"

                class="org.strutRE.action.ActionVldV">

                <result>index.jsp</result>

                <result name="input">/actionVldV.jsp</result>

            </action>

        </package>

    </struts>

    <?xml version="1.0" encoding="UTF-8"?>

    <!DOCTYPE struts PUBLIC

     "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"

     "http://struts.apache.org/dtds/struts-2.0.dtd">

    <struts>

     <package name="StrutsRE" extends="struts-default">

      <action name="ActionVld" class="org.strutRE.action.ActionVld">

       <result>index.jsp</result>

       <result name="input">/actionVld.jsp</result>

 

以上是 struts2.1 验证框架 嵌套验证 的全部内容, 来源链接: utcz.com/p/205401.html

回到顶部