f00209e10ec1001d165dbf5647f6ef7c
来自「实现一些hibernate底层的东西」· 代码 · 共 40 行
TXT
40 行
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE struts-config PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 1.2//EN"
"http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd">
<struts-config>
<form-beans>
<form-bean name="loginForm" type="com.bjsxt.struts.LoginActionForm"/>
</form-beans>
<action-mappings>
<action path="/login"
type="com.bjsxt.struts.LoginAction"
name="loginForm"
scope="request"
validate="false"
>
<forward name="success" path="/login_success.jsp"/>
<forward name="error" path="/login_error.jsp"/>
</action>
<action path="/mustlogin"
type="com.bjsxt.struts.MustLoginAction"
>
<forward name="login" path="/login.jsp"/>
<forward name="success" path="/mustlogin.jsp"/>
</action>
<action path="/dynaActionForward"
type="com.bjsxt.DynaActionforwardTest"
>
<forward name="page1" path="page1.jsp"/>
<forward name="page2" path="page2.jsp"/>
</action>
</action-mappings>
</struts-config>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?