struts action-mapping中的input的作用

来源:互联网 发布:网络电视不清楚怎么办 编辑:程序博客网 时间:2024/05/16 15:36
<action path="/somepath" 
        type="SomeAction" 
        name="SomeForm" 
        scope="session"

        input="someinput.jsp">


If the form bean SomeForm returns validation errors , it will return the page someinput.jsp.
input attribute is required if "name" is specified and the input bean returns validation errors. It is optional if "name" is specified and the input bean does not return validation errors.
原创粉丝点击