Rev 242 | Rev 459 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 242 | Rev 456 | ||
|---|---|---|---|
| Line 1... | Line 1... | ||
| 1 | <?xml version="1.0" encoding="UTF-8"?>
|
1 | <?xml version="1.0" encoding="UTF-8"?>
|
| 2 | <web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
|
- | |
| 3 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
- | |
| 4 | xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
|
- | |
| 5 | http://xmlns.jcp.org/xml/ns/javaee/web-app_3_0.xsd"
|
- | |
| 6 | version="3.0">
|
- | |
| 7 | <display-name>espacocase</display-name> |
- | |
| 8 | - | ||
| 9 | <welcome-file-list>
|
- | |
| 10 | <welcome-file>index.jsp</welcome-file> |
- | |
| 11 | </welcome-file-list>
|
- | |
| 12 | - | ||
| 13 | <context-param>
|
- | |
| 14 | <param-name>timezone</param-name> |
- | |
| 15 | <param-value>GMT-03:00</param-value> |
- | |
| 16 | </context-param>
|
- | |
| 17 | - | ||
| 18 | <context-param>
|
- | |
| 19 | <param-name>contextConfigLocation</param-name> |
- | |
| 20 | <param-value>/WEB-INF/spring-servlet.xml</param-value> |
- | |
| 21 | </context-param>
|
- | |
| 22 | - | ||
| 23 | <resource-ref>
|
- | |
| 24 | <res-ref-name>jdbc/sistemaEC</res-ref-name> |
- | |
| 25 | <res-type>javax.sql.DataSource</res-type> |
- | |
| 26 | <res-auth>Container</res-auth> |
- | |
| 27 | </resource-ref>
|
- | |
| 28 | - | ||
| 29 | <servlet>
|
- | |
| 30 | <servlet-name>Faces Servlet</servlet-name> |
- | |
| 31 | <servlet-class>javax.faces.webapp.FacesServlet</servlet-class> |
- | |
| 32 | <load-on-startup>1</load-on-startup> |
- | |
| 33 | </servlet>
|
- | |
| 34 | <servlet-mapping>
|
- | |
| 35 | <servlet-name>Faces Servlet</servlet-name> |
- | |
| 36 | <url-pattern>*.jsf</url-pattern> |
- | |
| 37 | </servlet-mapping>
|
- | |
| - | 2 | <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_0.xsd http://java.sun.com/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="3.0">
|
|
| - | 3 | <display-name>espacocase-novo</display-name> |
|
| - | 4 | <welcome-file-list>
|
|
| - | 5 | <welcome-file>index.jsp</welcome-file> |
|
| - | 6 | </welcome-file-list>
|
|
| - | 7 | <context-param>
|
|
| - | 8 | <param-name>timezone</param-name> |
|
| - | 9 | <param-value>GMT-03:00</param-value> |
|
| - | 10 | </context-param>
|
|
| - | 11 | <context-param>
|
|
| - | 12 | <param-name>contextConfigLocation</param-name> |
|
| - | 13 | <param-value>/WEB-INF/spring-servlet.xml</param-value> |
|
| - | 14 | </context-param>
|
|
| - | 15 | <resource-ref>
|
|
| - | 16 | <res-ref-name>jdbc/sistemaEC</res-ref-name> |
|
| - | 17 | <res-type>javax.sql.DataSource</res-type> |
|
| - | 18 | <res-auth>Container</res-auth> |
|
| - | 19 | </resource-ref>
|
|
| - | 20 | <servlet>
|
|
| - | 21 | <servlet-name>Faces Servlet</servlet-name> |
|
| - | 22 | <servlet-class>javax.faces.webapp.FacesServlet</servlet-class> |
|
| - | 23 | <load-on-startup>1</load-on-startup> |
|
| - | 24 | </servlet>
|
|
| - | 25 | <servlet-mapping>
|
|
| - | 26 | <servlet-name>Faces Servlet</servlet-name> |
|
| - | 27 | <url-pattern>*.jsf</url-pattern> |
|
| - | 28 | </servlet-mapping>
|
|
| 38 | <servlet-mapping>
|
29 | <servlet-mapping>
|
| 39 | <servlet-name>Faces Servlet</servlet-name> |
30 | <servlet-name>Faces Servlet</servlet-name> |
| 40 | <url-pattern>*.faces</url-pattern> |
31 | <url-pattern>*.faces</url-pattern> |
| 41 | </servlet-mapping>
|
32 | </servlet-mapping>
|
| 42 | <servlet-mapping>
|
33 | <servlet-mapping>
|
| 43 | <servlet-name>Faces Servlet</servlet-name> |
34 | <servlet-name>Faces Servlet</servlet-name> |
| 44 | <url-pattern>*.xhtml</url-pattern> |
35 | <url-pattern>*.xhtml</url-pattern> |
| 45 | </servlet-mapping>
|
36 | </servlet-mapping>
|
| 46 | - | ||
| 47 | <servlet>
|
37 | <servlet>
|
| 48 | <servlet-name>espacocase</servlet-name> |
38 | <servlet-name>espacocase</servlet-name> |
| 49 | <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class> |
39 | <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class> |
| 50 | <init-param>
|
40 | <init-param>
|
| 51 | <param-name>contextConfigLocation</param-name> |
41 | <param-name>contextConfigLocation</param-name> |
| 52 | <param-value></param-value>
|
42 | <param-value></param-value>
|
| 53 | </init-param>
|
43 | </init-param>
|
| 54 | <load-on-startup>1</load-on-startup> |
44 | <load-on-startup>1</load-on-startup> |
| 55 | </servlet>
|
45 | </servlet>
|
| 56 | - | ||
| 57 | <servlet-mapping>
|
46 | <servlet-mapping>
|
| 58 | <servlet-name>espacocase</servlet-name> |
47 | <servlet-name>espacocase</servlet-name> |
| 59 | <url-pattern>*.action</url-pattern> |
48 | <url-pattern>*.action</url-pattern> |
| 60 | </servlet-mapping>
|
49 | </servlet-mapping>
|
| 61 | - | ||
| 62 | <error-page>
|
50 | <error-page>
|
| 63 | <error-code>401</error-code> |
51 | <error-code>401</error-code> |
| 64 | <location>/sistema/erro_acesso.xhtml</location> |
52 | <location>/sistema/erro_acesso.xhtml</location> |
| 65 | </error-page>
|
53 | </error-page>
|
| 66 | <error-page>
|
54 | <error-page>
|
| Line 73... | Line 61... | ||
| 73 | </error-page>
|
61 | </error-page>
|
| 74 | <error-page>
|
62 | <error-page>
|
| 75 | <error-code>500</error-code> |
63 | <error-code>500</error-code> |
| 76 | <location>/sistema/erro.xhtml</location> |
64 | <location>/sistema/erro.xhtml</location> |
| 77 | </error-page>
|
65 | </error-page>
|
| 78 | - | ||
| 79 | <listener>
|
66 | <listener>
|
| 80 | <listener-class>com.sun.faces.config.ConfigureListener</listener-class> |
67 | <listener-class>com.sun.faces.config.ConfigureListener</listener-class> |
| 81 | </listener>
|
68 | </listener>
|
| 82 | <listener>
|
69 | <listener>
|
| 83 | <listener-class>br.com.ec.controller.util.ConfigListener</listener-class> |
70 | <listener-class>br.com.ec.controller.util.ConfigListener</listener-class> |
| Line 91... | Line 78... | ||
| 91 | <listener>
|
78 | <listener>
|
| 92 | <description>sessionListener</description> |
79 | <description>sessionListener</description> |
| 93 | <listener-class>
|
80 | <listener-class>
|
| 94 | br.com.ec.controller.util.SessionListener |
81 | br.com.ec.controller.util.SessionListener |
| 95 | </listener-class>
|
82 | </listener-class>
|
| 96 | </listener>
|
- | |
| - | 83 | </listener>
|
|
| 97 | <context-param>
|
84 | <context-param>
|
| 98 | <param-name>javax.faces.PROJECT_STAGE</param-name> |
85 | <param-name>javax.faces.PROJECT_STAGE</param-name> |
| 99 | <param-value>Production</param-value> |
86 | <param-value>Production</param-value> |
| 100 | </context-param>
|
87 | </context-param>
|
| 101 | <!--
|
- | |
| 102 | <context-param>
|
- | |
| 103 | <param-name>primefaces.THEME</param-name>
|
- | |
| 104 | <param-value>poseidon-blue</param-value>
|
- | |
| 105 | </context-param>
|
- | |
| 106 | -->
|
- | |
| 107 | <context-param>
|
88 | <context-param>
|
| 108 | <param-name>javax.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL</param-name> |
89 | <param-name>javax.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL</param-name> |
| 109 | <param-value>false</param-value> |
90 | <param-value>false</param-value> |
| 110 | </context-param>
|
91 | </context-param>
|
| 111 | <context-param>
|
92 | <context-param>
|
| Line 129... | Line 110... | ||
| 129 | <url-pattern>/*</url-pattern> |
110 | <url-pattern>/*</url-pattern> |
| 130 | <dispatcher>REQUEST</dispatcher> |
111 | <dispatcher>REQUEST</dispatcher> |
| 131 | <dispatcher>INCLUDE</dispatcher> |
112 | <dispatcher>INCLUDE</dispatcher> |
| 132 | <dispatcher>FORWARD</dispatcher> |
113 | <dispatcher>FORWARD</dispatcher> |
| 133 | </filter-mapping>
|
114 | </filter-mapping>
|
| 134 | <!--
|
- | |
| 135 | <filter>
|
- | |
| 136 | <filter-name>PrimeFaces FileUpload Filter</filter-name>
|
- | |
| 137 | <filter-class>org.primefaces.webapp.filter.FileUploadFilter</filter-class>
|
- | |
| 138 | </filter>
|
- | |
| 139 | <filter-mapping>
|
- | |
| 140 | <filter-name>PrimeFaces FileUpload Filter</filter-name>
|
- | |
| 141 | <servlet-name>Faces Servlet</servlet-name>
|
- | |
| 142 | </filter-mapping>
|
- | |
| 143 | -->
|
- | |
| 144 | <servlet>
|
115 | <servlet>
|
| 145 | <servlet-name>Resource Servlet</servlet-name> |
116 | <servlet-name>Resource Servlet</servlet-name> |
| 146 | <servlet-class>org.primefaces.resource.ResourceServlet</servlet-class> |
117 | <servlet-class>org.primefaces.resource.ResourceServlet</servlet-class> |
| 147 | </servlet>
|
118 | </servlet>
|
| 148 | <servlet-mapping>
|
119 | <servlet-mapping>
|