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 <description>Full-qualified back class name, must implement DatabaseBackend interface</description>
5 <param-name>database.backend.class</param-name>
6 <param-value>org.mxchange.jcore.database.backend.base64.Base64CsvDatabaseBackend</param-value>
9 <description>Login name for MySQL database, mostly not root</description>
10 <param-name>database.mysql.login</param-name>
11 <param-value>root</param-value>
14 <description>Password for above login, an empty password can be archived by setting a space</description>
15 <param-name>database.mysql.password</param-name>
16 <param-value>root</param-value>
19 <description>Hostname or IP address for MySQL server</description>
20 <param-name>database.mysql.host</param-name>
21 <param-value>localhost</param-value>
24 <description>Name of MySQL catalog</description>
25 <param-name>database.mysql.dbname</param-name>
26 <param-value>test</param-value>
29 <description>Data path for file-based database backends. This must be a relative path and it will reside 2 levels up from the server's web path.</description>
30 <param-name>database.backend.storagepath</param-name>
31 <param-value>data</param-value>
34 <param-name>javax.faces.PROJECT_STAGE</param-name>
35 <param-value>Development</param-value>
38 <description>A servlet filter for setting character encoding to UTF-8</description>
39 <filter-name>Utf8ServletFilter</filter-name>
40 <filter-class>org.mxchange.jsfcore.filter.servlet.utf8.Utf8ServletFilter</filter-class>
43 <description>A servlet filter for logging</description>
44 <filter-name>Log4jServletFilter</filter-name>
45 <filter-class>org.apache.logging.log4j.web.Log4jServletFilter</filter-class>
50 <description>A filter for handling added basket items</description>
51 <filter-name>BasketItemAddedFilter</filter-name>
52 <filter-class>org.mxchange.jshop.filter.servlet.basket.BasketItemAddedFilter</filter-class>
55 <filter-name>BasketItemAddedFilter</filter-name>
56 <url-pattern>/form_handler/add_item.jsp</url-pattern>
60 <filter-name>Log4jServletFilter</filter-name>
61 <url-pattern>/*</url-pattern>
64 <filter-name>Utf8ServletFilter</filter-name>
65 <url-pattern>/*</url-pattern>
68 <servlet-name>Faces Servlet</servlet-name>
69 <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
70 <load-on-startup>1</load-on-startup>
73 <servlet-name>Faces Servlet</servlet-name>
74 <url-pattern>/faces/*</url-pattern>
77 <extension>tpl</extension>
78 <mime-type>text/plain</mime-type>
86 <welcome-file>faces/index.xhtml</welcome-file>
87 <!--<welcome-file>index.jsp</welcome-file>-->