Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 200 | espaco | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 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" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5"> |
||
| 3 | <display-name>espacocase</display-name> |
||
| 4 | <context-param> |
||
| 5 | <param-name>timezone</param-name> |
||
| 6 | <param-value>GMT-03:00</param-value> |
||
| 7 | </context-param> |
||
| 8 | <context-param> |
||
| 9 | <param-name>contextConfigLocation</param-name> |
||
| 10 | <param-value>WEB-INF/*web-context.xml</param-value> |
||
| 11 | </context-param> |
||
| 12 | <servlet> |
||
| 13 | <servlet-name>Faces Servlet</servlet-name> |
||
| 14 | <servlet-class>javax.faces.webapp.FacesServlet</servlet-class> |
||
| 15 | <load-on-startup>1</load-on-startup> |
||
| 16 | </servlet> |
||
| 17 | <servlet-mapping> |
||
| 18 | <servlet-name>Faces Servlet</servlet-name> |
||
| 19 | <url-pattern>*.jsf</url-pattern> |
||
| 20 | </servlet-mapping> |
||
| 21 | <servlet-mapping> |
||
| 22 | <servlet-name>Faces Servlet</servlet-name> |
||
| 23 | <url-pattern>*.faces</url-pattern> |
||
| 24 | </servlet-mapping> |
||
| 25 | <servlet-mapping> |
||
| 26 | <servlet-name>Faces Servlet</servlet-name> |
||
| 27 | <url-pattern>*.xhtml</url-pattern> |
||
| 28 | </servlet-mapping> |
||
| 29 | <servlet> |
||
| 30 | <servlet-name>espacocase</servlet-name> |
||
| 31 | <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class> |
||
| 32 | <init-param> |
||
| 33 | <param-name>contextConfigLocation</param-name> |
||
| 34 | <param-value></param-value> |
||
| 35 | </init-param> |
||
| 36 | <load-on-startup>1</load-on-startup> |
||
| 37 | </servlet> |
||
| 38 | <servlet-mapping> |
||
| 39 | <servlet-name>espacocase</servlet-name> |
||
| 40 | <url-pattern>*.action</url-pattern> |
||
| 41 | </servlet-mapping> |
||
| 42 | <error-page> |
||
| 43 | <error-code>401</error-code> |
||
| 44 | <location>/sistema/erro_acesso.xhtml</location> |
||
| 45 | </error-page> |
||
| 46 | <error-page> |
||
| 47 | <error-code>403</error-code> |
||
| 48 | <location>/sistema/erro_acesso.xhtml</location> |
||
| 49 | </error-page> |
||
| 50 | <error-page> |
||
| 51 | <error-code>404</error-code> |
||
| 52 | <location>/sistema/erro_404.xhtml</location> |
||
| 53 | </error-page> |
||
| 54 | <error-page> |
||
| 55 | <error-code>500</error-code> |
||
| 56 | <location>/sistema/erro.xhtml</location> |
||
| 57 | </error-page> |
||
| 58 | <listener> |
||
| 59 | <listener-class>com.sun.faces.config.ConfigureListener</listener-class> |
||
| 60 | </listener> |
||
| 61 | <listener> |
||
| 62 | <listener-class>br.com.ec.controller.util.ConfigListener</listener-class> |
||
| 63 | </listener> |
||
| 64 | <listener> |
||
| 65 | <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> |
||
| 66 | </listener> |
||
| 67 | <listener> |
||
| 68 | <listener-class>org.springframework.web.context.request.RequestContextListener</listener-class> |
||
| 69 | </listener> |
||
| 70 | <listener> |
||
| 71 | <description>sessionListener</description> |
||
| 72 | <listener-class> |
||
| 73 | br.com.ec.controller.util.SessionListener |
||
| 74 | </listener-class> |
||
| 75 | </listener> |
||
| 76 | <context-param> |
||
| 77 | <param-name>javax.faces.PROJECT_STAGE</param-name> |
||
| 78 | <param-value>Production</param-value> |
||
| 79 | </context-param> |
||
| 80 | <context-param> |
||
| 81 | <param-name>primefaces.THEME</param-name> |
||
| 82 | <param-value>poseidon-blue</param-value> |
||
| 83 | </context-param> |
||
| 84 | <context-param> |
||
| 85 | <param-name>javax.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL</param-name> |
||
| 86 | <param-value>false</param-value> |
||
| 87 | </context-param> |
||
| 88 | <context-param> |
||
| 89 | <param-name>javax.faces.STATE_SAVING_METHOD</param-name> |
||
| 90 | <param-value>server</param-value> |
||
| 91 | </context-param> |
||
| 92 | <filter> |
||
| 93 | <filter-name>springSecurityFilterChain</filter-name> |
||
| 94 | <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class> |
||
| 95 | </filter> |
||
| 96 | <filter> |
||
| 97 | <filter-name>Character Encoding Filter</filter-name> |
||
| 98 | <filter-class>br.com.ec.filter.CharacterEncodingFilter</filter-class> |
||
| 99 | </filter> |
||
| 100 | <filter-mapping> |
||
| 101 | <filter-name>Character Encoding Filter</filter-name> |
||
| 102 | <servlet-name>Faces Servlet</servlet-name> |
||
| 103 | </filter-mapping> |
||
| 104 | <filter-mapping> |
||
| 105 | <filter-name>springSecurityFilterChain</filter-name> |
||
| 106 | <url-pattern>/*</url-pattern> |
||
| 107 | <dispatcher>REQUEST</dispatcher> |
||
| 108 | <dispatcher>INCLUDE</dispatcher> |
||
| 109 | <dispatcher>FORWARD</dispatcher> |
||
| 110 | </filter-mapping> |
||
| 111 | <filter> |
||
| 112 | <filter-name>PrimeFaces FileUpload Filter</filter-name> |
||
| 113 | <filter-class>org.primefaces.webapp.filter.FileUploadFilter</filter-class> |
||
| 114 | </filter> |
||
| 115 | <filter-mapping> |
||
| 116 | <filter-name>PrimeFaces FileUpload Filter</filter-name> |
||
| 117 | <servlet-name>Faces Servlet</servlet-name> |
||
| 118 | </filter-mapping> |
||
| 119 | <welcome-file-list> |
||
| 120 | <welcome-file>index.jsp</welcome-file> |
||
| 121 | </welcome-file-list> |
||
| 122 | <servlet> |
||
| 123 | <servlet-name>Resource Servlet</servlet-name> |
||
| 124 | <servlet-class>org.primefaces.resource.ResourceServlet</servlet-class> |
||
| 125 | </servlet> |
||
| 126 | <servlet-mapping> |
||
| 127 | <servlet-name>Resource Servlet</servlet-name> |
||
| 128 | <url-pattern>/espacocase/*</url-pattern> |
||
| 129 | </servlet-mapping> |
||
| 130 | <context-param> |
||
| 131 | <param-name>primefaces.FONT_AWESOME</param-name> |
||
| 132 | <param-value>true</param-value> |
||
| 133 | </context-param> |
||
| 134 | <mime-mapping> |
||
| 135 | <extension>ecss</extension> |
||
| 136 | <mime-type>text/css</mime-type> |
||
| 137 | </mime-mapping> |
||
| 138 | <context-param> |
||
| 139 | <param-name>javax.faces.DATETIMECONVERTER_DEFAULT_TIMEZONE_IS_SYSTEM_TIMEZONE</param-name> |
||
| 140 | <param-value>true</param-value> |
||
| 141 | </context-param> |
||
| 142 | <mime-mapping> |
||
| 143 | <extension>ttf</extension> |
||
| 144 | <mime-type>application/font-sfnt</mime-type> |
||
| 145 | </mime-mapping> |
||
| 146 | <mime-mapping> |
||
| 147 | <extension>woff</extension> |
||
| 148 | <mime-type>application/font-woff</mime-type> |
||
| 149 | </mime-mapping> |
||
| 150 | <mime-mapping> |
||
| 151 | <extension>woff2</extension> |
||
| 152 | <mime-type>application/font-woff2</mime-type> |
||
| 153 | </mime-mapping> |
||
| 154 | <mime-mapping> |
||
| 155 | <extension>eot</extension> |
||
| 156 | <mime-type>application/vnd.ms-fontobject</mime-type> |
||
| 157 | </mime-mapping> |
||
| 158 | <mime-mapping> |
||
| 159 | <extension>eot?#iefix</extension> |
||
| 160 | <mime-type>application/vnd.ms-fontobject</mime-type> |
||
| 161 | </mime-mapping> |
||
| 162 | <mime-mapping> |
||
| 163 | <extension>svg</extension> |
||
| 164 | <mime-type>image/svg+xml</mime-type> |
||
| 165 | </mime-mapping> |
||
| 166 | <mime-mapping> |
||
| 167 | <extension>svg#exosemibold</extension> |
||
| 168 | <mime-type>image/svg+xml</mime-type> |
||
| 169 | </mime-mapping> |
||
| 170 | <mime-mapping> |
||
| 171 | <extension>svg#exobolditalic</extension> |
||
| 172 | <mime-type>image/svg+xml</mime-type> |
||
| 173 | </mime-mapping> |
||
| 174 | <mime-mapping> |
||
| 175 | <extension>svg#exomedium</extension> |
||
| 176 | <mime-type>image/svg+xml</mime-type> |
||
| 177 | </mime-mapping> |
||
| 178 | <mime-mapping> |
||
| 179 | <extension>svg#exoregular</extension> |
||
| 180 | <mime-type>image/svg+xml</mime-type> |
||
| 181 | </mime-mapping> |
||
| 182 | <mime-mapping> |
||
| 183 | <extension>svg#fontawesomeregular</extension> |
||
| 184 | <mime-type>image/svg+xml</mime-type> |
||
| 185 | </mime-mapping> |
||
| 186 | </web-app> |