リスト8 web.xml

 1 <?xml version='1.0' encoding='UTF-8'?>
 2 <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
 3   2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
 4 <web-app>
 5   <servlet>
 6     <servlet-name>Faces Servlet</servlet-name>
 7     <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
 8     <load-on-startup> 1 </load-on-startup>
 9   </servlet>
10
11   <servlet-mapping>
12     <servlet-name>Faces Servlet</servlet-name>
13     <url-pattern>/faces/*</url-pattern>
14   </servlet-mapping>
15 </web-app>