Skip to content

Commit ce6bf8f

Browse files
author
Arun Gupta
committed
Fixing namespace from java.sun.com -> xmlns.jcp.org and using Servlet 3.1 schema
1 parent f78445e commit ce6bf8f

File tree

3 files changed

+15
-3
lines changed
  • jsf
    • flows-mixed/src/main/webapp/WEB-INF
    • flows-programmatic/src/main/webapp/WEB-INF
    • flows-simple/src/main/webapp/WEB-INF

3 files changed

+15
-3
lines changed

jsf/flows-mixed/src/main/webapp/WEB-INF/web.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,11 @@
4141
*/
4242
-->
4343

44-
<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">
44+
<web-app
45+
version="3.1"
46+
xmlns="http://xmlns.jcp.org/xml/ns/javaee"
47+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
48+
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd">
4549
<context-param>
4650
<param-name>javax.faces.PROJECT_STAGE</param-name>
4751
<param-value>${webapp.projectStage}</param-value>

jsf/flows-programmatic/src/main/webapp/WEB-INF/web.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,11 @@
4141
*/
4242
-->
4343

44-
<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">
44+
<web-app
45+
version="3.1"
46+
xmlns="http://xmlns.jcp.org/xml/ns/javaee"
47+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
48+
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd">
4549
<context-param>
4650
<param-name>javax.faces.CLIENT_WINDOW_MODE</param-name>
4751
<param-value>url</param-value>

jsf/flows-simple/src/main/webapp/WEB-INF/web.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,11 @@
4141
*/
4242
-->
4343

44-
<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">
44+
<web-app
45+
version="3.1"
46+
xmlns="http://xmlns.jcp.org/xml/ns/javaee"
47+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
48+
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd">
4549
<context-param>
4650
<param-name>javax.faces.PROJECT_STAGE</param-name>
4751
<param-value>${webapp.projectStage}</param-value>

0 commit comments

Comments
 (0)