~ubuntu-branches/ubuntu/lucid/libstruts1.2-java/lucid

« back to all changes in this revision

Viewing changes to contrib/struts-faces/web/example2/WEB-INF/web.xml

  • Committer: Bazaar Package Importer
  • Author(s): Arnaud Vandyck
  • Date: 2006-04-24 12:14:23 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20060424121423-naev53qigqgks0sa
Tags: 1.2.9-1
New upstream  release Fixes  three security  problems: CVE-2006-1546,
CVE-2006-1547,  CVE-2006-1548  (closes:  #360551),  thanks  to  Moritz
Muehlenhoff.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0" encoding="ISO-8859-1"?>
2
 
 
3
 
 
4
 
<!DOCTYPE web-app
5
 
  PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
6
 
  "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
7
 
 
8
 
 
9
 
<!--
10
 
 
11
 
 Copyright 2002,2004 The Apache Software Foundation.
12
 
 
13
 
 Licensed under the Apache License, Version 2.0 (the "License");
14
 
 you may not use this file except in compliance with the License.
15
 
 You may obtain a copy of the License at
16
 
 
17
 
      http://www.apache.org/licenses/LICENSE-2.0
18
 
 
19
 
 Unless required by applicable law or agreed to in writing, software
20
 
 distributed under the License is distributed on an "AS IS" BASIS,
21
 
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22
 
 See the License for the specific language governing permissions and
23
 
 limitations under the License.
24
 
 
25
 
-->
26
 
 
27
 
 
28
 
<web-app>
29
 
 
30
 
  <display-name>Struts-Faces Integration Library Example</display-name>
31
 
 
32
 
 
33
 
MYFACES_BEGIN
34
 
  <listener>
35
 
    <listener-class>
36
 
      net.sourceforge.myfaces.webapp.StartupServletContextListener
37
 
    </listener-class>
38
 
  </listener>
39
 
MYFACES_END
40
 
 
41
 
 
42
 
  <!-- JavaServer Faces Servlet Configuration -->
43
 
  <servlet>
44
 
    <servlet-name>faces</servlet-name>
45
 
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
46
 
    <load-on-startup>1</load-on-startup>
47
 
  </servlet>
48
 
 
49
 
 
50
 
  <!-- Action Servlet Configuration -->
51
 
  <servlet>
52
 
    <servlet-name>action</servlet-name>
53
 
    <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
54
 
    <init-param>
55
 
      <param-name>config</param-name>
56
 
      <param-value>/WEB-INF/struts-config.xml</param-value>
57
 
    </init-param>
58
 
    <init-param>
59
 
      <param-name>debug</param-name>
60
 
      <param-value>3</param-value>
61
 
    </init-param>
62
 
    <init-param>
63
 
      <param-name>detail</param-name>
64
 
      <param-value>3</param-value>
65
 
    </init-param>
66
 
    <load-on-startup>2</load-on-startup>
67
 
  </servlet>
68
 
 
69
 
 
70
 
  <!-- JavaServer Faces Servlet Mapping -->
71
 
  <servlet-mapping>
72
 
    <servlet-name>faces</servlet-name>
73
 
    <url-pattern>*.faces</url-pattern>
74
 
  </servlet-mapping>
75
 
 
76
 
 
77
 
  <!-- Action Servlet Mapping -->
78
 
  <servlet-mapping>
79
 
    <servlet-name>action</servlet-name>
80
 
    <url-pattern>*.do</url-pattern>
81
 
  </servlet-mapping>
82
 
 
83
 
 
84
 
  <!-- The Welcome File List -->
85
 
  <welcome-file-list>
86
 
    <welcome-file>index.jsp</welcome-file>
87
 
  </welcome-file-list>
88
 
 
89
 
  <!-- Application Tag Library Descriptor -->
90
 
  <taglib>
91
 
    <taglib-uri>/WEB-INF/app.tld</taglib-uri>
92
 
    <taglib-location>/WEB-INF/app.tld</taglib-location>
93
 
  </taglib>
94
 
 
95
 
  <!-- Struts Tag Library Descriptors -->
96
 
  <taglib>
97
 
    <taglib-uri>/WEB-INF/struts-tiles.tld</taglib-uri>
98
 
    <taglib-location>/WEB-INF/struts-tiles.tld</taglib-location>
99
 
  </taglib> 
100
 
  <taglib>
101
 
    <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
102
 
    <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
103
 
  </taglib>
104
 
 
105
 
  <taglib>
106
 
    <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
107
 
    <taglib-location>/WEB-INF/struts-html.tld</taglib-location>
108
 
  </taglib>
109
 
 
110
 
  <taglib>
111
 
    <taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
112
 
    <taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
113
 
  </taglib>
114
 
 
115
 
</web-app>