Skip to content
This repository was archived by the owner on May 28, 2018. It is now read-only.

Commit cf913a0

Browse files
author
Petr Bouda
committed
Fix monitoring example web.xml
Change-Id: I43764d90434d6eee49148c06e28b4a85ac83f56f
1 parent 5a149f9 commit cf913a0

File tree

1 file changed

+3
-5
lines changed
  • examples/monitoring-webapp/src/main/webapp/WEB-INF

1 file changed

+3
-5
lines changed

examples/monitoring-webapp/src/main/webapp/WEB-INF/web.xml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
12
<!--
23
34
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
45
5-
Copyright (c) 2013 Oracle and/or its affiliates. All rights reserved.
6+
Copyright (c) 2013-2016 Oracle and/or its affiliates. All rights reserved.
67
78
The contents of this file are subject to the terms of either the GNU
89
General Public License Version 2 only ("GPL") or the Common Development
@@ -39,11 +40,8 @@
3940
holder.
4041
4142
-->
42-
<!DOCTYPE web-app PUBLIC
43-
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
44-
"http://java.sun.com/dtd/web-app_2_3.dtd" >
4543

46-
<web-app>
44+
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
4745
<display-name>Archetype Created Web Application</display-name>
4846
<servlet>
4947
<servlet-name>org.glassfish.jersey.examples.monitoring.MyApplication</servlet-name>

0 commit comments

Comments
 (0)