1
<?xml version="1.0" encoding="ISO-8859-1"?>
4
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
5
"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
8
<display-name>Struts Example Application</display-name>
10
<!-- Action Servlet Configuration -->
12
<servlet-name>action</servlet-name>
13
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
15
<param-name>config</param-name>
16
<param-value>/WEB-INF/struts-config.xml, /WEB-INF/struts-config-registration.xml</param-value>
18
<load-on-startup>1</load-on-startup>
22
<!-- Action Servlet Mapping -->
24
<servlet-name>action</servlet-name>
25
<url-pattern>*.do</url-pattern>
29
<!-- The Welcome File List -->
31
<welcome-file>index.jsp</welcome-file>
34
<!-- The default error page -->
36
<exception-type>java.lang.Exception</exception-type>
37
<location>\Error.jsp</location>
40
<!-- Application Tag Library Descriptor -->
42
<taglib-uri>/tags/app</taglib-uri>
43
<taglib-location>/WEB-INF/app.tld</taglib-location>
46
<!-- Struts Tag Library Descriptors -->
48
<taglib-uri>/tags/struts-bean</taglib-uri>
49
<taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
52
<taglib-uri>/tags/struts-html</taglib-uri>
53
<taglib-location>/WEB-INF/struts-html.tld</taglib-location>
56
<taglib-uri>/tags/struts-logic</taglib-uri>
57
<taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
60
<taglib-uri>/tags/struts-nested</taglib-uri>
61
<taglib-location>/WEB-INF/struts-nested.tld</taglib-location>