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