⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 struts-config.xml.keep

📁 一段很有意义的源码,看了就知道,不信试一试啊!
💻 KEEP
字号:
<?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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -