struts-config.xml

来自「精通Struts:基于MVC的java web车技与开发源程序(2)」· XML 代码 · 共 24 行

XML
24
字号
<?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">
       
<struts-config>
  
  <!-- ========== Global Forward Definitions ============================== -->
  <global-forwards>
    <forward   name="index"                 path="/index.jsp"/>
    <forward   name="BeanServlet"           path="/BeanServlet.jsp"/>
    <forward   name="BeanResources"         path="/BeanResources.jsp"/>
    <forward   name="BeanBean"              path="/BeanBean.jsp"/>
    <forward   name="testpage2"              path="/testpage2.jsp"/>

  </global-forwards>

<message-resources parameter="ApplicationResources"  />

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

</struts-config>

⌨️ 快捷键说明

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