struts1配置

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN" "http://struts.apache.org/dtds/struts-config_1_2.dtd">

<struts-config>
  <data-sources />
  <form-beans >
  <form-bean name="studentForm" type="com.huaxin.scc.form.StudentForm"></form-bean>
  </form-beans>
  <global-exceptions />
  <global-forwards />
  <action-mappings >
  <action path="/student"  
  type="org.springframework.web.struts.DelegatingActionProxy"
  name="studentForm"
  scope="request"
  parameter="method">
  <forward name="findAll" path="/list.jsp"></forward>
  <forward name="delete" path="/student.do"></forward>
  </action>
  </action-mappings>
  <message-resources parameter="com.huaxin.scc.struts.ApplicationResources" />
</struts-config>

你可能感兴趣的:(apache,xml,struts)