Rev 225 | Rev 456 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 225 | Rev 242 | ||
|---|---|---|---|
| Line 1... | Line -... | ||
| 1 | <?xml version="1.0" encoding="UTF-8"?>
|
- | |
| 2 | <!DOCTYPE xml>
|
- | |
| 3 | <web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
|
- | |
| 4 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
- | |
| 5 | xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
|
- | |
| 6 | http://xmlns.jcp.org/xml/ns/javaee/web-app_3_0.xsd"
|
- | |
| 7 | version="3.0">
|
- | |
| 8 | - | ||
| 9 | <welcome-file-list>
|
- | |
| 10 | <welcome-file>sistema/index.html</welcome-file> |
- | |
| 11 | <!--
|
- | |
| 12 | <welcome-file>index.htm</welcome-file>
|
- | |
| 13 | <welcome-file>index.jsp</welcome-file>
|
- | |
| 14 | <welcome-file>default.html</welcome-file>
|
- | |
| 15 | <welcome-file>default.htm</welcome-file>
|
- | |
| 16 | <welcome-file>default.jsp</welcome-file>
|
- | |
| 17 | -->
|
- | |
| 18 | </welcome-file-list>
|
- | |
| 19 | - | ||
| 20 | <!-- Spring Configuration -->
|
- | |
| 21 | <servlet>
|
- | |
| 22 | <servlet-name>spring</servlet-name> |
- | |
| 23 | <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class> |
- | |
| 24 | <load-on-startup>1</load-on-startup> |
- | |
| 25 | </servlet>
|
- | |
| 26 | <servlet-mapping>
|
- | |
| 27 | <servlet-name>spring</servlet-name> |
- | |
| 28 | <url-pattern>/</url-pattern> |
- | |
| 29 | </servlet-mapping>
|
- | |
| 30 | - | ||
| 31 | <listener>
|
- | |
| 32 | <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> |
- | |
| 33 | </listener>
|
- | |
| 34 | - | ||
| 35 | <filter>
|
- | |
| 36 | <filter-name>springSecurityFilterChain</filter-name> |
- | |
| 37 | <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class> |
- | |
| 38 | </filter>
|
- | |
| 39 | <filter-mapping>
|
- | |
| 40 | <filter-name>springSecurityFilterChain</filter-name> |
- | |
| 41 | <url-pattern>/*</url-pattern> |
- | |
| 42 | </filter-mapping>
|
- | |
| 43 | - | ||
| 44 | <resource-ref>
|
- | |
| 45 | <description>Web Database</description> |
- | |
| 46 | <res-ref-name>jdbc/sisEC</res-ref-name> |
- | |
| 47 | <res-type>javax.sql.DataSource</res-type> |
- | |
| 48 | <res-auth>Container</res-auth> |
- | |
| 49 | </resource-ref>
|
- | |
| 50 | - | ||
| 51 | <context-param>
|
- | |
| 52 | <param-name>contextConfigLocation</param-name> |
- | |
| 53 | <param-value>
|
- | |
| 54 | /WEB-INF/spring-servlet.xml |
- | |
| 55 | /WEB-INF/spring-security.xml |
- | |
| 56 | </param-value>
|
- | |
| 57 | </context-param>
|
- | |
| 58 | - | ||
| 59 | <!-- <context-param>
|
- | |
| 60 | <param-name>primefaces.THEME</param-name>
|
- | |
| 61 | <param-value>poseidon-layout</param-value>
|
- | |
| 62 | </context-param> -->
|
- | |
| 63 | - | ||
| 64 | <context-param>
|
- | |
| 65 | <param-name>primefaces.FONT_AWESOME</param-name> |
- | |
| 66 | <param-value>true</param-value> |
- | |
| 67 | </context-param>
|
- | |
| 68 | <context-param>
|
- | |
| 69 | <param-name>javax.faces.PROJECT_STAGE</param-name> |
- | |
| 70 | <param-value>Development</param-value> |
- | |
| 71 | </context-param>
|
- | |
| 72 | <context-param>
|
- | |
| 73 | <param-name>javax.faces.FACELETS_REFRESH_PERIOD</param-name> |
- | |
| 74 | <param-value>0</param-value> |
- | |
| 75 | </context-param>
|
- | |
| 76 | - | ||
| 77 | <servlet>
|
- | |
| 78 | <servlet-name>Faces Servlet</servlet-name> |
- | |
| 79 | <servlet-class>javax.faces.webapp.FacesServlet</servlet-class> |
- | |
| 80 | <load-on-startup>1</load-on-startup> |
- | |
| 81 | </servlet>
|
- | |
| 82 | <servlet-mapping>
|
- | |
| 83 | <servlet-name>Faces Servlet</servlet-name> |
- | |
| 84 | <url-pattern>*.jsf</url-pattern> |
- | |
| 85 | </servlet-mapping>
|
- | |
| 86 | <servlet-mapping>
|
- | |
| 87 | <servlet-name>Faces Servlet</servlet-name> |
- | |
| 88 | <url-pattern>*.faces</url-pattern> |
- | |
| 89 | </servlet-mapping>
|
- | |
| 90 | <servlet-mapping>
|
- | |
| 91 | <servlet-name>Faces Servlet</servlet-name> |
- | |
| 92 | <url-pattern>*.xhtml</url-pattern> |
- | |
| 93 | </servlet-mapping>
|
- | |
| 94 | - | ||
| 95 | <mime-mapping>
|
- | |
| 96 | <extension>woff</extension> |
- | |
| 97 | <mime-type>application/font-woff</mime-type> |
- | |
| 98 | </mime-mapping>
|
- | |
| 99 | <mime-mapping>
|
- | |
| 100 | <extension>woff2</extension> |
- | |
| 101 | <mime-type>application/font-woff2</mime-type> |
- | |
| 102 | </mime-mapping>
|
- | |
| 103 | < |
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>
|
|
| - | 38 | <servlet-mapping>
|
|
| - | 39 | <servlet-name>Faces Servlet</servlet-name> |
|
| - | 40 | <url-pattern>*.faces</url-pattern> |
|
| - | 41 | </servlet-mapping>
|
|
| - | 42 | <servlet-mapping>
|
|
| - | 43 | <servlet-name>Faces Servlet</servlet-name> |
|
| - | 44 | <url-pattern>*.xhtml</url-pattern> |
|
| - | 45 | </servlet-mapping>
|
|
| - | 46 | ||
| - | 47 | <servlet>
|
|
| - | 48 | <servlet-name>espacocase</servlet-name> |
|
| - | 49 | <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class> |
|
| - | 50 | <init-param>
|
|
| - | 51 | <param-name>contextConfigLocation</param-name> |
|
| - | 52 | <param-value></param-value>
|
|
| - | 53 | </init-param>
|
|
| - | 54 | <load-on-startup>1</load-on-startup> |
|
| - | 55 | </servlet>
|
|
| - | 56 | ||
| - | 57 | <servlet-mapping>
|
|
| - | 58 | <servlet-name>espacocase</servlet-name> |
|
| - | 59 | <url-pattern>*.action</url-pattern> |
|
| - | 60 | </servlet-mapping>
|
|
| - | 61 | ||
| - | 62 | <error-page>
|
|
| - | 63 | <error-code>401</error-code> |
|
| - | 64 | <location>/sistema/erro_acesso.xhtml</location> |
|
| - | 65 | </error-page>
|
|
| - | 66 | <error-page>
|
|
| - | 67 | <error-code>403</error-code> |
|
| - | 68 | <location>/sistema/erro_acesso.xhtml</location> |
|
| - | 69 | </error-page>
|
|
| - | 70 | <error-page>
|
|
| - | 71 | <error-code>404</error-code> |
|
| - | 72 | <location>/sistema/erro_404.xhtml</location> |
|
| - | 73 | </error-page>
|
|
| - | 74 | <error-page>
|
|
| - | 75 | <error-code>500</error-code> |
|
| - | 76 | <location>/sistema/erro.xhtml</location> |
|
| - | 77 | </error-page>
|
|
| - | 78 | ||
| - | 79 | <listener>
|
|
| - | 80 | <listener-class>com.sun.faces.config.ConfigureListener</listener-class> |
|
| - | 81 | </listener>
|
|
| - | 82 | <listener>
|
|
| - | 83 | <listener-class>br.com.ec.controller.util.ConfigListener</listener-class> |
|
| - | 84 | </listener>
|
|
| - | 85 | <listener>
|
|
| - | 86 | <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> |
|
| - | 87 | </listener>
|
|
| - | 88 | <listener>
|
|
| - | 89 | <listener-class>org.springframework.web.context.request.RequestContextListener</listener-class> |
|
| - | 90 | </listener>
|
|
| - | 91 | <listener>
|
|
| - | 92 | <description>sessionListener</description> |
|
| - | 93 | <listener-class>
|
|
| - | 94 | br.com.ec.controller.util.SessionListener |
|
| - | 95 | </listener-class>
|
|
| - | 96 | </listener>
|
|
| - | 97 | <context-param>
|
|
| - | 98 | <param-name>javax.faces.PROJECT_STAGE</param-name> |
|
| - | 99 | <param-value>Production</param-value> |
|
| - | 100 | </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>
|
|
| - | 108 | <param-name>javax.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL</param-name> |
|
| - | 109 | <param-value>false</param-value> |
|
| - | 110 | </context-param>
|
|
| - | 111 | <context-param>
|
|
| - | 112 | <param-name>javax.faces.STATE_SAVING_METHOD</param-name> |
|
| - | 113 | <param-value>server</param-value> |
|
| - | 114 | </context-param>
|
|
| - | 115 | <filter>
|
|
| - | 116 | <filter-name>springSecurityFilterChain</filter-name> |
|
| - | 117 | <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class> |
|
| - | 118 | </filter>
|
|
| - | 119 | <filter>
|
|
| - | 120 | <filter-name>Character Encoding Filter</filter-name> |
|
| - | 121 | <filter-class>br.com.ec.filter.CharacterEncodingFilter</filter-class> |
|
| - | 122 | </filter>
|
|
| - | 123 | <filter-mapping>
|
|
| - | 124 | <filter-name>Character Encoding Filter</filter-name> |
|
| - | 125 | <servlet-name>Faces Servlet</servlet-name> |
|
| - | 126 | </filter-mapping>
|
|
| - | 127 | <filter-mapping>
|
|
| - | 128 | <filter-name>springSecurityFilterChain</filter-name> |
|
| - | 129 | <url-pattern>/*</url-pattern> |
|
| - | 130 | <dispatcher>REQUEST</dispatcher> |
|
| - | 131 | <dispatcher>INCLUDE</dispatcher> |
|
| - | 132 | <dispatcher>FORWARD</dispatcher> |
|
| - | 133 | </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>
|
|
| - | 145 | <servlet-name>Resource Servlet</servlet-name> |
|
| - | 146 | <servlet-class>org.primefaces.resource.ResourceServlet</servlet-class> |
|
| - | 147 | </servlet>
|
|
| - | 148 | <servlet-mapping>
|
|
| - | 149 | <servlet-name>Resource Servlet</servlet-name> |
|
| - | 150 | <url-pattern>/espacocase/*</url-pattern> |
|
| - | 151 | </servlet-mapping>
|
|
| - | 152 | <context-param>
|
|
| - | 153 | <param-name>primefaces.FONT_AWESOME</param-name> |
|
| - | 154 | <param-value>true</param-value> |
|
| - | 155 | </context-param>
|
|
| - | 156 | <mime-mapping>
|
|
| - | 157 | <extension>ecss</extension> |
|
| - | 158 | <mime-type>text/css</mime-type> |
|
| - | 159 | </mime-mapping>
|
|
| - | 160 | <context-param>
|
|
| - | 161 | <param-name>javax.faces.DATETIMECONVERTER_DEFAULT_TIMEZONE_IS_SYSTEM_TIMEZONE</param-name> |
|
| - | 162 | <param-value>true</param-value> |
|
| - | 163 | </context-param>
|
|
| - | 164 | <mime-mapping>
|
|
| - | 165 | <extension>ttf</extension> |
|
| - | 166 | <mime-type>application/font-sfnt</mime-type> |
|
| - | 167 | </mime-mapping>
|
|
| - | 168 | <mime-mapping>
|
|
| - | 169 | <extension>woff</extension> |
|
| - | 170 | <mime-type>application/font-woff</mime-type> |
|
| - | 171 | </mime-mapping>
|
|
| - | 172 | <mime-mapping>
|
|
| - | 173 | <extension>woff2</extension> |
|
| - | 174 | <mime-type>application/font-woff2</mime-type> |
|
| - | 175 | </mime-mapping>
|
|
| - | 176 | <mime-mapping>
|
|
| - | 177 | <extension>eot</extension> |
|
| - | 178 | <mime-type>application/vnd.ms-fontobject</mime-type> |
|
| - | 179 | </mime-mapping>
|
|
| - | 180 | <mime-mapping>
|
|
| - | 181 | <extension>eot?#iefix</extension> |
|
| - | 182 | <mime-type>application/vnd.ms-fontobject</mime-type> |
|
| - | 183 | </mime-mapping>
|
|
| - | 184 | <mime-mapping>
|
|
| - | 185 | <extension>svg</extension> |
|
| - | 186 | <mime-type>image/svg+xml</mime-type> |
|
| - | 187 | </mime-mapping>
|
|
| - | 188 | <mime-mapping>
|
|
| - | 189 | <extension>svg#exosemibold</extension> |
|
| - | 190 | <mime-type>image/svg+xml</mime-type> |
|
| - | 191 | </mime-mapping>
|
|
| - | 192 | <mime-mapping>
|
|
| - | 193 | <extension>svg#exobolditalic</extension> |
|
| - | 194 | <mime-type>image/svg+xml</mime-type> |
|
| - | 195 | </mime-mapping>
|
|
| - | 196 | <mime-mapping>
|
|
| - | 197 | <extension>svg#exomedium</extension> |
|
| - | 198 | <mime-type>image/svg+xml</mime-type> |
|
| - | 199 | </mime-mapping>
|
|
| - | 200 | <mime-mapping>
|
|
| - | 201 | <extension>svg#exoregular</extension> |
|
| - | 202 | <mime-type>image/svg+xml</mime-type> |
|
| - | 203 | </mime-mapping>
|
|
| - | 204 | <mime-mapping>
|
|
| - | 205 | <extension>svg#fontawesomeregular</extension> |
|
| - | 206 | <mime-type>image/svg+xml</mime-type> |
|
| - | 207 | </mime-mapping>
|
|
| - | 208 | </web-app>
|
|