struts-config.xml~2~

来自「深入浅出的介绍j2ee的相关基本知识」· XML~2~ 代码 · 共 14 行

XML~2~
14
字号
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.0//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd">
<struts-config>
  <form-beans>
    <form-bean name="myActionForm" type="strutsdemo.myActionForm" />
  </form-beans>
  <global-forwards>
    <forward name="input" path="/input.jsp" />
  </global-forwards>
  <action-mappings>
    <action input="/input.jsp" name="myActionForm" path="/myAction" scope="session" type="strutsdemo.myAction" />
  </action-mappings>
</struts-config>

⌨️ 快捷键说明

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