📄 struts-config.xml~47~
字号:
<?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>
<data-source>
<set-property property="autoCommit" value="true" />
<set-property property="description" value="Example Data Source Configuration" />
<set-property property="driverClass" value="com.microsoft.jdbc.sqlserver.SQLServerDriver" />
<set-property property="maxCount" value="4" />
<set-property property="minCount" value="2" />
<set-property property="password" value=" "/>
<set-property property="url" value="jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=team5db" />
<set-property property="user" value="sa" />
</data-source>
</data-sources>
<form-beans>
<form-bean name="bookForm" type="form.BookForm" />
<form-bean name="delLoginForm" type="bean.DelLoginForm" />
<form-bean name="alterActionForm" type="bean.AlterActionForm" />
</form-beans>
<action-mappings>
<action name="bookForm" path="/page" scope="request" type="page.PageListAction" validate="true">
<forward name="success" path="/result.jsp" />
</action>
<action path="/message" scope="request" type="bean.MessageAction">
<forward name="success" path="/message.jsp" />
</action>
<action name="delLoginForm" path="/del" scope="request" type="bean.DelAction">
<forward name="success" path="/del.jsp" />
</action>
<action name="alterActionForm" path="/alter" scope="request" type="bean.AlterAction">
<forward name="success" path="/alter.jsp" />
</action>
</action-mappings>
<message-resources parameter="ApplicationResources" />
</struts-config>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -