11<?xml version =" 1.0" encoding =" UTF-8" ?>
2- <web-app xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3- xmlns =" http://java.sun.com/xml/ns/javaee"
4- xsi : schemaLocation =" http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
5- id =" Ch04_OutputEscapingJSF" version =" 2.5" >
6- <display-name >Ch04_OutputEscapingJSF</display-name >
7- <context-param >
8- <param-name >javax.faces.PROJECT_STAGE</param-name >
9- <param-value >Development</param-value >
10- </context-param >
11- <welcome-file-list >
12- <welcome-file >index.xhtml</welcome-file >
13- </welcome-file-list >
14- <servlet >
15- <servlet-name >Faces Servlet</servlet-name >
16- <servlet-class >javax.faces.webapp.FacesServlet</servlet-class >
17- <load-on-startup >1</load-on-startup >
18- </servlet >
19- <servlet-mapping >
20- <servlet-name >Faces Servlet</servlet-name >
21- <url-pattern >*.xhtml</url-pattern >
22- </servlet-mapping >
2+ <web-app xmlns =" http://xmlns.jcp.org/xml/ns/javaee"
3+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4+ xsi : schemaLocation =" http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
5+ version =" 3.1" >
6+ <display-name >Ch04_OutputEscapingJSF</display-name >
7+
8+ <context-param >
9+ <param-name >javax.faces.PROJECT_STAGE</param-name >
10+ <param-value >Development</param-value >
11+ </context-param >
12+
13+ <servlet >
14+ <servlet-name >Faces Servlet</servlet-name >
15+ <servlet-class >javax.faces.webapp.FacesServlet</servlet-class >
16+ <load-on-startup >1</load-on-startup >
17+ </servlet >
18+
19+ <servlet-mapping >
20+ <servlet-name >Faces Servlet</servlet-name >
21+ <url-pattern >*.xhtml</url-pattern >
22+ </servlet-mapping >
23+
24+ <welcome-file-list >
25+ <welcome-file >index.xhtml</welcome-file >
26+ </welcome-file-list >
2327</web-app >
0 commit comments