| <?xml version = '1.0' encoding = 'ISO-8859-1'?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| |
| --> |
| <web-app xmlns="http://java.sun.com/xml/ns/javaee" |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" |
| version="2.5"> |
| |
| <context-param> |
| <param-name>javax.faces.STATE_SAVING_METHOD</param-name> |
| <param-value>client</param-value> |
| </context-param> |
| |
| <context-param> |
| <param-name>javax.faces.DEFAULT_SUFFIX</param-name> |
| <param-value>.jspx</param-value> |
| </context-param> |
| |
| <context-param> |
| <param-name>org.apache.myfaces.trinidad.ENABLE_LIGHTWEIGHT_DIALOGS</param-name> |
| <param-value>false</param-value> |
| </context-param> |
| |
| <context-param> |
| <param-name>org.apache.myfaces.trinidad.USE_APPLICATION_VIEW_CACHE</param-name> |
| <param-value>false</param-value> |
| </context-param> |
| |
| <context-param> |
| <param-name>org.apache.myfaces.trinidad.DISABLE_CONTENT_COMPRESSION</param-name> |
| <param-value>true</param-value> |
| </context-param> |
| |
| <context-param> |
| <param-name>org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION</param-name> |
| <param-value>true</param-value> |
| </context-param> |
| |
| <context-param> |
| <param-name>org.apache.myfaces.trinidad.CHANGE_PERSISTENCE</param-name> |
| <param-value>session</param-value> |
| </context-param> |
| |
| <context-param> |
| <param-name>org.apache.myfaces.trinidad.resource.DEBUG</param-name> |
| <param-value>true</param-value> |
| </context-param> |
| |
| <context-param> |
| <param-name>org.apache.myfaces.trinidad.DEBUG_JAVASCRIPT</param-name> |
| <param-value>true</param-value> |
| </context-param> |
| |
| <filter> |
| <filter-name>trinidad</filter-name> |
| <filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class> |
| </filter> |
| |
| <filter> |
| <filter-name>demoRedirect</filter-name> |
| <filter-class>org.apache.myfaces.trinidaddemo.webapp.RedirectFilter</filter-class> |
| </filter> |
| |
| <filter-mapping> |
| <filter-name>trinidad</filter-name> |
| <servlet-name>faces</servlet-name> |
| </filter-mapping> |
| |
| <filter-mapping> |
| <filter-name>demoRedirect</filter-name> |
| <url-pattern>*.jspx</url-pattern> |
| </filter-mapping> |
| |
| <!-- Faces Servlet --> |
| <servlet> |
| <servlet-name>faces</servlet-name> |
| <servlet-class>javax.faces.webapp.FacesServlet</servlet-class> |
| </servlet> |
| |
| <!-- resource loader servlet --> |
| <servlet> |
| <servlet-name>resources</servlet-name> |
| <servlet-class>org.apache.myfaces.trinidad.webapp.ResourceServlet</servlet-class> |
| </servlet> |
| |
| <!-- source code servlet --> |
| <servlet> |
| <servlet-name>source</servlet-name> |
| <servlet-class>org.apache.myfaces.trinidaddemo.webapp.SourceCodeServlet</servlet-class> |
| </servlet> |
| |
| <!-- Faces Servlet Mappings --> |
| <servlet-mapping> |
| <servlet-name>faces</servlet-name> |
| <url-pattern>/faces/*</url-pattern> |
| </servlet-mapping> |
| |
| <servlet-mapping> |
| <servlet-name>faces</servlet-name> |
| <url-pattern>*.faces</url-pattern> |
| </servlet-mapping> |
| |
| <servlet-mapping> |
| <servlet-name>resources</servlet-name> |
| <url-pattern>/adf/*</url-pattern> |
| </servlet-mapping> |
| |
| <servlet-mapping> |
| <servlet-name>source</servlet-name> |
| <url-pattern>*.source</url-pattern> |
| </servlet-mapping> |
| |
| |
| <!-- Welcome Files --> |
| <servlet-mapping> |
| <servlet-name>resources</servlet-name> |
| <url-pattern>/afr/*</url-pattern> |
| </servlet-mapping> |
| <welcome-file-list> |
| <welcome-file>/login.jspx</welcome-file> |
| </welcome-file-list> |
| |
| </web-app> |