struts-config.xml.keep

来自「一段很有意义的源码,看了就知道,不信试一试啊!」· KEEP 代码 · 共 36 行

KEEP
36
字号
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">

<struts-config>
  <data-sources />
  <form-beans >
    <form-bean name="addCustomerForm" type="com.wondersgroup.test.webform.AddCustomerForm" />

  </form-beans>

  <global-exceptions />
  <global-forwards />
  <action-mappings >
      <!--action path="/addCustomer" type="com.wondersgroup.test.web.action.AddCustomerAction" name="addCustomerForm" scope="request" input="/login.jsp">
			<forward name="failure" path="/login.jsp" />
	  </action-->
	  
	  <action path="/addCustomer" name="addCustomerForm" scope="request"
			type="org.springframework.web.struts.DelegatingRequestProcessor"
			parameter="method">
			<forward name="success" path="/login.jsp"></forward>
		</action>
	  

  </action-mappings>
  <controller processorClass="org.springframework.web.struts.DelegatingRequestProcessor" />
	<message-resources parameter="com.wondersgroup.ApplicationResources" />
	<plug-in
		className="org.springframework.web.struts.ContextLoaderPlugIn">
		<set-property property="contextConfigLocation"
			value="/WEB-INF/classes/applicationContext.xml,/WEB-INF/classes/securityContext.xml,/WEB-INF/classes/testContext.xml" />
	</plug-in>

</struts-config>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?