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

📄 code.txt

📁 struts-config.xml配置文件 struts-config.xml配置文件 struts-config.xml配置文件 struts-config.xml配置文件 struts-c
💻 TXT
字号:
<?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="linkForm" type="com.zwj.struts.form.LinkForm" />
	</form-beans>

	<global-exceptions />
	<global-forwards>
		<forward name="showLink" path="/admin/showLinks.jsp" />
		<forward name="addLink" path="/admin/addLink.jsp" />
		<forward name="updateLink" path="/admin/updateLink.jsp" />
	</global-forwards>
	<action-mappings>
		<!-- 添加链接 -->
		<action attribute="linkForm" input="/admin/addLink.jsp" name="linkForm"
			path="/addLink" scope="request" />
		<!-- 显示所有链接 -->
		<action attribute="linkForm" input="/admin/showLinks.jsp" name="linkForm"
			path="/showLink" scope="request" />
		<!-- 删除链接 -->
		<action attribute="linkForm" name="linkForm" path="/deleteLink" input="/admin/showLinks.jsp"
			scope="request"/>
		<!-- 编辑链接 -->
	</action-mappings>
	<!-- 配置struts控制器  委托spring转发请求 -->
	<controller processorClass="org.springframework.web.struts.DelegatingRequestProcessor" />
	<message-resources parameter="com.zwj.struts.ApplicationResources" />
</struts-config>

⌨️ 快捷键说明

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