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

📄 struts-config.xml

📁 用javausebean 与struts 分别实现登陆界面
💻 XML
字号:
<?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>
	<form-beans>
		<form-bean name="loginform" type="str.loginform"/>
	</form-beans>

	<global-forwards>
		<forward name="" path="" />
	</global-forwards>

	<action-mappings>
		<action path="/login"
				type="str.loginaction"
				name="loginform"
				parameter="methode"
				scope="request"
				validate="false">
			<forward name="success" path="/ok.jsp" />
			<forward name="failure" path="/relogin.jsp" />
		</action>

		<action path=""
				type=""
				name=""
				parameter="methode"
				scope="request"
				validate="true"
				input="">
			<forward name="success" path="" />
			<forward name="failure" path="" />
		</action>
		<action path="/ok" forward="/ok.jsp" >
		</action>
	</action-mappings>

	<message-resources parameter="" />
	<message-resources key="" parameter="" />

</struts-config>

⌨️ 快捷键说明

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