<?xml version="1.0" encoding="iso-8859-1"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!DOCTYPE web-app PUBLIC
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<display-name>Struts Examples Application</display-name>
<!-- Standard Action Servlet Configuration (with debugging) -->
<servlet>
<servlet-name>action</servlet-name>
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
<!-- Default -->
<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/struts-config.xml</param-value>
</init-param>
<!-- Exercise module -->
<init-param>
<param-name>config/exercise</param-name>
<param-value>/WEB-INF/exercise/struts-config.xml</param-value>
</init-param>
<!-- File Upload module -->
<init-param>
<param-name>config/upload</param-name>
<param-value>/WEB-INF/upload/struts-config.xml</param-value>
</init-param>
<!-- Validator module -->
<init-param>
<param-name>config/validator</param-name>
<param-value>/WEB-INF/validator/struts-config.xml,
/WEB-INF/validator/struts-config-bundles.xml,
/WEB-INF/validator/struts-config-i18nVariables.xml,
/WEB-INF/validator/struts-config-type.xml,
/WEB-INF/validator/struts-config-validwhen.xml
</param-value>
</init-param>
<!-- Dispatch Action module -->
<init-param>
<param-name>config/dispatch</param-name>
<param-value>/WEB-INF/dispatch/struts-config.xml</param-value>
</init-param>
<init-param>
<param-name>debug</param-name>
<param-value>2</param-value>
</init-param>
<init-param>
<param-name>detail</param-name>
<param-value>2</param-value>
</init-param>
<load-on-startup>2</load-on-startup>
</servlet>
<!-- Standard Action Servlet Mapping -->
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
<!-- The Usual Welcome File List -->
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
<welcome-file>index.html</welcome-file>
<welcome-file>upload.jsp</welcome-file>
</welcome-file-list>
</web-app>
分享到:
相关推荐
struts-config.xml struts标准配置文件 struts-config
Struts框架中struts-config.xml文件配置小结
struts-config.xml配置文件 struts-config.xml配置文件 struts-config.xml配置文件
Struts-config.xml配置详解,介绍Struts-config中8个元素配置方法。
包含struts2-core-2.5.10.1.jar,struts2-jfreechart-plugin-2.5.10.1.jar,struts2-json-plugin-2.5.10.1.jar,struts2-junit-plugin-2.5.10.1.jar,struts2-bean-validation-plugin-2.5.10.1.jar,struts2-cdi-...
SSH之Struts1之struts-config.xml常用配置详解(3-21-2008)
struts-config.xml配置文件对学struts的人必备的查找资料。
配置 struts-config.xml 元素 属性的详解!转载来的,,看着很好!》希望对大家有用!
韩顺平视频配套struts-config.xml配置详解.txt
这个strut-config配置详解是韩顺平老师指定的 很多同学都看过韩老师的视频或者上过韩老师的课程吧
struts-config.xml配置文件详解
Struts-config.xml 配置详解.doc Struts-config.xml 配置详解.doc
struts-config.xml 详解struts-config.xml 详解
【Struts1.2总结】struts-config.xml配置
struts安装,配置 如果你已经了解了MVC,那么使用Struts进行开发对你来说将是一件很爽的事情。下面来说一下基本配置方法(Struts1.X):1.下载Struts:2.加载jar包:3.配置web.xml:4.配置Struts-config.xml文件:
struts--config.xml详解
J2EE struts框架开发struts-config.xml配置
2.struts-config.xml文件配置 <form-beans> <form-bean name="actionForm" type="org.apache.struts.action.DynaActionForm"> <form-property name = "filedata" type = "org.apache.struts.upload.FormFile" /...