Skip to content

Commit 91ef428

Browse files
author
Arun Gupta
committed
Fixing namespace from java.sun.com -> xmlns.jcp.org and using Servlet 3.1 schema. Also added copyright
1 parent d556e28 commit 91ef428

File tree

1 file changed

+48
-1
lines changed
  • jsf/file-upload/src/main/webapp/WEB-INF

1 file changed

+48
-1
lines changed

jsf/file-upload/src/main/webapp/WEB-INF/web.xml

Lines changed: 48 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,52 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<web-app version="3.0" 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_3_0.xsd">
2+
3+
<!--
4+
/*
5+
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
6+
*
7+
* Copyright (c) 2013 Oracle and/or its affiliates. All rights reserved.
8+
*
9+
* The contents of this file are subject to the terms of either the GNU
10+
* General Public License Version 2 only ("GPL") or the Common Development
11+
* and Distribution License("CDDL") (collectively, the "License"). You
12+
* may not use this file except in compliance with the License. You can
13+
* obtain a copy of the License at
14+
* https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html
15+
* or packager/legal/LICENSE.txt. See the License for the specific
16+
* language governing permissions and limitations under the License.
17+
*
18+
* When distributing the software, include this License Header Notice in each
19+
* file and include the License file at packager/legal/LICENSE.txt.
20+
*
21+
* GPL Classpath Exception:
22+
* Oracle designates this particular file as subject to the "Classpath"
23+
* exception as provided by Oracle in the GPL Version 2 section of the License
24+
* file that accompanied this code.
25+
*
26+
* Modifications:
27+
* If applicable, add the following below the License Header, with the fields
28+
* enclosed by brackets [] replaced by your own identifying information:
29+
* "Portions Copyright [year] [name of copyright owner]"
30+
*
31+
* Contributor(s):
32+
* If you wish your version of this file to be governed by only the CDDL or
33+
* only the GPL Version 2, indicate your decision by adding "[Contributor]
34+
* elects to include this software in this distribution under the [CDDL or GPL
35+
* Version 2] license." If you don't indicate a single choice of license, a
36+
* recipient has the option to distribute your version of this file under
37+
* either the CDDL, the GPL Version 2 or to extend the choice of license to
38+
* its licensees as provided above. However, if you add GPL Version 2 code
39+
* and therefore, elected the GPL Version 2 license, then the option applies
40+
* only if the new code is made subject to such option by the copyright
41+
* holder.
42+
*/
43+
-->
44+
45+
<web-app
46+
version="3.1"
47+
xmlns="http://xmlns.jcp.org/xml/ns/javaee"
48+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
49+
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd">
350
<context-param>
451
<param-name>javax.faces.PROJECT_STAGE</param-name>
552
<param-value>Development</param-value>

0 commit comments

Comments
 (0)