Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
- version="3.1">
- <servlet>
- <servlet-name>Faces Servlet</servlet-name>
- <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
- <load-on-startup>1</load-on-startup>
- </servlet>
- <servlet-mapping>
- <servlet-name>Faces Servlet</servlet-name>
- <url-pattern>*.xhtml</url-pattern>
- </servlet-mapping>
- <filter>
- <filter-name>PageFilter</filter-name>
- <filter-class>br.com.teste.recurso.filter.PageFilter</filter-class>
- </filter>
- <filter-mapping>
- <filter-name>PageFilter</filter-name>
- <url-pattern>/*</url-pattern>
- </filter-mapping>
- <session-config>
- <session-timeout>60</session-timeout>
- </session-config>
- <listener>
- <listener-class>br.com.teste.recurso.filter.SessionListener</listener-class>
- </listener>
- <context-param>
- <param-name>primefaces.FONT_AWESOME</param-name>
- <param-value>false</param-value>
- </context-param>
- <context-param>
- <param-name>facelets.SKIP_COMMENTS</param-name>
- <param-value>true</param-value>
- </context-param>
- <context-param>
- <param-name>primefaces.THEME</param-name>
- <param-value>none</param-value>
- </context-param>
- <welcome-file-list>
- <welcome-file>login.xhtml</welcome-file>
- <welcome-file>index.xhtml</welcome-file>
- </welcome-file-list>
- </web-app>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement