]> git.mxchange.org Git - pizzaservice-war.git/blob - web/WEB-INF/web.xml
no JSTL in JSF!
[pizzaservice-war.git] / web / WEB-INF / web.xml
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">
3     <description>An online address book application to share private and business memebers between all members. It is also possible that the user's profile can be made visible to outside.</description>
4     <display-name>JLandingPage Application v1.0</display-name>
5     <context-param>
6         <description>Whether debug mode is for registration controller enabled.</description>
7         <param-name>is_debug_register_enabled</param-name>
8         <param-value>false</param-value>
9     </context-param>
10     <context-param>
11         <description>Whether the multi-page registration page or a single registration page is active</description>
12         <param-name>is_multi_register_page</param-name>
13         <param-value>true</param-value>
14     </context-param>
15     <context-param>
16         <description>Whether a user name is required on registration</description>
17         <param-name>is_user_name_required</param-name>
18         <param-value>false</param-value>
19     </context-param>
20     <context-param>
21         <description>Whether the public user profile is enabled.</description>
22         <param-name>is_public_profile_enabled</param-name>
23         <param-value>false</param-value>
24     </context-param>
25     <context-param>
26         <description>Whether "resend confirmation link" ius enabled.</description>
27         <param-name>is_resend_confirm_link_enabled</param-name>
28         <param-value>true</param-value>
29     </context-param>
30     <context-param>
31         <param-name>javax.faces.DATETIMECONVERTER_DEFAULT_TIMEZONE_IS_SYSTEM_TIMEZONE</param-name>
32         <param-value>true</param-value>
33     </context-param>
34     <servlet>
35         <servlet-name>Faces Servlet</servlet-name>
36         <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
37         <load-on-startup>1</load-on-startup>
38     </servlet>
39     <servlet>
40         <servlet-name>pdf</servlet-name>
41         <servlet-class>org.mxchange.pizzaapplication.servlet.receipt.PizzaPdfReceiptServlet</servlet-class>
42     </servlet>
43     <servlet-mapping>
44         <servlet-name>Faces Servlet</servlet-name>
45         <url-pattern>/faces/*</url-pattern>
46     </servlet-mapping>
47     <mime-mapping>
48         <extension>tpl</extension>
49         <mime-type>text/plain</mime-type>
50     </mime-mapping>
51     <servlet-mapping>
52         <servlet-name>pdf</servlet-name>
53         <url-pattern>/customer/recipt.pdf</url-pattern>
54     </servlet-mapping>
55     <session-config>
56         <session-timeout>
57             30
58         </session-timeout>
59     </session-config>
60     <welcome-file-list>
61         <welcome-file>faces/index.xhtml</welcome-file>
62     </welcome-file-list>
63     <security-constraint>
64         <display-name>AdminConstraint</display-name>
65         <web-resource-collection>
66             <web-resource-name>admin</web-resource-name>
67             <description>Administrative Area</description>
68             <url-pattern>/faces/admin/*</url-pattern>
69         </web-resource-collection>
70         <auth-constraint>
71             <description>Administrative Area Login</description>
72             <role-name>admin</role-name>
73         </auth-constraint>
74     </security-constraint>
75     <login-config>
76         <auth-method>BASIC</auth-method>
77         <realm-name>file</realm-name>
78     </login-config>
79     <security-role>
80         <description>Administrative role</description>
81         <role-name>admin</role-name>
82     </security-role>
83 </web-app>