Revision 7541
Added by ben leinfelder over 11 years ago
web.xml.tomcat6 | ||
---|---|---|
1 |
<!DOCTYPE web-app |
|
2 |
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" |
|
3 |
"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd"> |
|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
4 | 2 |
|
5 |
<web-app> |
|
3 |
<web-app xmlns="http://java.sun.com/xml/ns/javaee" |
|
4 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
5 |
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" |
|
6 |
version="2.5"> |
|
6 | 7 |
|
7 | 8 |
<display-name>Metacat</display-name> |
8 | 9 |
|
9 | 10 |
<context-param> |
10 | 11 |
<param-name>jones</param-name> |
11 | 12 |
<param-value>jones@nceas.ucsb.edu</param-value> |
12 |
<description> |
|
13 |
</description> |
|
14 | 13 |
</context-param> |
15 | 14 |
|
16 | 15 |
<context-param> |
17 | 16 |
<param-name>configFileName</param-name> |
18 | 17 |
<param-value>metacat.properties</param-value> |
19 |
<description>The main configuration file for application</description> |
|
20 | 18 |
</context-param> |
21 | 19 |
|
22 | 20 |
<!-- D1 filters --> |
... | ... | |
135 | 133 |
|
136 | 134 |
<servlet> |
137 | 135 |
<servlet-name>AxisServlet</servlet-name> |
138 |
<display-name>Apache-Axis Servlet</display-name> |
|
139 | 136 |
<servlet-class> |
140 | 137 |
org.apache.axis.transport.http.AxisServlet |
141 | 138 |
</servlet-class> |
... | ... | |
144 | 141 |
|
145 | 142 |
<servlet> |
146 | 143 |
<servlet-name>AdminServlet</servlet-name> |
147 |
<display-name>Axis Admin Servlet</display-name> |
|
148 | 144 |
<servlet-class> |
149 | 145 |
org.apache.axis.transport.http.AdminServlet |
150 | 146 |
</servlet-class> |
... | ... | |
153 | 149 |
|
154 | 150 |
<servlet> |
155 | 151 |
<servlet-name>SOAPMonitorService</servlet-name> |
156 |
<display-name>SOAPMonitorService</display-name> |
|
157 | 152 |
<servlet-class> |
158 | 153 |
org.apache.axis.monitor.SOAPMonitorService |
159 | 154 |
</servlet-class> |
... | ... | |
217 | 212 |
|
218 | 213 |
<servlet-mapping> |
219 | 214 |
<servlet-name>replication</servlet-name> |
220 |
<url-pattern>replication</url-pattern> |
|
215 |
<url-pattern>/replication</url-pattern>
|
|
221 | 216 |
</servlet-mapping> |
222 | 217 |
|
223 | 218 |
<servlet-mapping> |
Also available in: Unified diff
use more modern approach for web.xml: schema instead of dtd for web-app declaration. https://projects.ecoinformatics.org/ecoinfo/issues/2237