?? struts-config.xml
字號:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE struts-config PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 1.1//EN"
"http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
<!--
NOTE: If you have a generator tool to create the corresponding Java classes
for you, you could include the details in the "form-bean" declarations.
Otherwise, you would only define the "form-bean" element itself, with the
corresponding "name" and "type" attributes, as shown here.
-->
<struts-config>
<form-beans>
<form-bean name="loginForm" type="LoginForm" />
<form-bean name="carForm" type="CarForm" />
</form-beans>
<global-exceptions>
</global-exceptions>
<!-- =================================== Global Forward Definitions -->
<!-- =================================== Action Mapping Definitions -->
<action-mappings>
<action name="loginForm" path="/login" type="LoginAction">
<forward name="login" path="/login.jsp"></forward>
<forward name="success" path="/car.do"></forward>
<forward name="failure" path="/login_failure.jsp"></forward>
</action>
<action name="carForm" path="/car" type="CarAction">
<forward name="cars" path="/cars.jsp"></forward>
<forward name="viewcar" path="/viewcar.jsp"></forward>
<forward name="done" path="/done.jsp"></forward>
</action>
</action-mappings>
</struts-config>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -