1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
4 <param-name>javax.faces.PROJECT_STAGE</param-name>
5 <param-value>Development</param-value>
8 <servlet-name>Faces Servlet</servlet-name>
9 <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
10 <load-on-startup>1</load-on-startup>
13 <servlet-name>pdf</servlet-name>
14 <servlet-class>org.mxchange.pizzaapplication.servlet.receipt.PizzaPdfReceiptServlet</servlet-class>
17 <servlet-name>Faces Servlet</servlet-name>
18 <url-pattern>/faces/*</url-pattern>
21 <extension>tpl</extension>
22 <mime-type>text/plain</mime-type>
25 <servlet-name>pdf</servlet-name>
26 <url-pattern>/customer/recipt.pdf</url-pattern>
33 <http-only>true</http-only>
37 <welcome-file>faces/index.xhtml</welcome-file>
40 <display-name>Constraint1</display-name>
41 <web-resource-collection>
42 <web-resource-name>admin</web-resource-name>
43 <description>Administrative Area</description>
44 <url-pattern>/faces/admin/*</url-pattern>
45 </web-resource-collection>
47 <description>Administrative Area Login</description>
49 </security-constraint>
51 <auth-method>BASIC</auth-method>
52 <realm-name>file</realm-name>
55 <description>Administrative role</description>
56 <role-name>admin</role-name>