首页 > 代码库 > struts 1.x配置文件说明

struts 1.x配置文件说明

<struts-config>    <global-exceptions />  <!--全局映射定义-->  <global-forwards>          <forward name="success"  path="/frame.jsp"/>          <forward name="error"    path="/errorpage.jsp"/>          <forward name="logout" path="/logout.jsp"/>          <forward name="a_success"  path="/jsp/a/index.jsp"/>  </global-forwards><!--formBean的定义--><form-beans>        <form-bean name="lessonForm" type="com.lvsoft.edu.course.view.form.LessonForm"/></form-beans><!--action和formBean的绑定以及映射路径--><action-mappings>        <action path="/course/lesson" name="curriculaForm"             scope="request" parameter="method"             type="com.lvsoft.edu.course.view.action.LessonAction">            <forward name="goto_list" path="/jsp/sysbasicmgr/course/ListLessons.jsp"/>        </action></action-mappings></struts-config>

 

struts 1.x配置文件说明