Attachment 'sample-web-1-2-0.xml'

Download

   1 <?xml version="1.0" encoding="UTF-8"?>
   2 <web-app version="2.4" 
   3          xmlns="http://java.sun.com/xml/ns/j2ee"
   4          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   5          xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
   6     
   7     <!-- ************************ SEAM Listener **************************** -->
   8     <listener>
   9         <listener-class>org.jboss.seam.servlet.SeamListener</listener-class>
  10     </listener>
  11         
  12 
  13     <!-- ************************ SEAM Config **************************** -->
  14     <!-- 300 second conversation timeout -->
  15     <context-param>
  16         <param-name>org.jboss.seam.core.manager.conversationTimeout</param-name>
  17         <param-value>300000</param-value>
  18     </context-param>
  19     
  20     <context-param>
  21         <param-name>org.jboss.seam.core.init.debug</param-name>
  22         <param-value>true</param-value>
  23     </context-param>
  24     
  25     
  26     <!-- ************************ JSF Config **************************** -->
  27     <context-param>
  28         <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
  29         <param-value>.xhtml</param-value>
  30     </context-param>
  31     
  32     <context-param>
  33         <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
  34         <param-value>client</param-value>
  35     </context-param>
  36     
  37     
  38     <!-- ************************ FACELETS Config **************************** -->
  39     <context-param>
  40         <param-name>facelets.DEVELOPMENT</param-name>
  41         <param-value>true</param-value>
  42     </context-param>
  43     
  44     <context-param>
  45         <param-name>facelets.REFRESH_PERIOD</param-name>
  46         <param-value>2</param-value>
  47     </context-param>
  48     
  49     <context-param>
  50         <description>Prevents HTML-Comments from beeing rendered</description>
  51         <param-name>facelets.SKIP_COMMENTS</param-name>
  52         <param-value>true</param-value>
  53     </context-param>
  54     
  55     
  56     <!-- ************************ AJAX4JSF Config **************************** -->
  57     
  58     <!-- Do not use with Trinidad.
  59     <context-param>
  60         <param-name>org.ajax4jsf.SKIN</param-name>
  61         <param-value>DEFAULT</param-value>
  62     </context-param>-->
  63         
  64     
  65     <!-- ************************ Trinidad Config **************************** -->
  66     <context-param>
  67         <param-name>org.apache.myfaces.trinidad.USE_APPLICATION_VIEW_CACHE</param-name>
  68         <param-value>false</param-value>
  69     </context-param>
  70     
  71     <context-param>
  72         <param-name>org.apache.myfaces.trinidad.ALTERNATE_VIEW_HANDLER</param-name>
  73         <param-value>org.jboss.seam.ui.facelet.SeamFaceletViewHandler</param-value>
  74         <!--<param-value>com.sun.facelets.FaceletViewHandler</param-value>-->
  75     </context-param>
  76     
  77     <context-param>
  78         <param-name>org.apache.myfaces.trinidadinternal.DISABLE_CONTENT_COMPRESSION</param-name>
  79         <param-value>true</param-value>
  80     </context-param>
  81     
  82     <!-- If this parameter is enabled, Trinidad will automatically
  83        check the modification date of your JSPs, and discard saved
  84        state when they change;  this makes development easier,
  85        but adds overhead that should be avoided when your application
  86        is deployed -->
  87     <context-param>
  88         <param-name>org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION</param-name>
  89         <param-value>true</param-value>
  90     </context-param>
  91         
  92     
  93     <!-- ************************ AJAX4JSF Filter **************************** -->
  94     <!-- If you have other filters declared in the web.xml, be sure that Ajax4jsf Filter is declared before the others. -->
  95     <filter>
  96         <display-name>Ajax4jsf Filter</display-name>
  97         <filter-name>ajax4jsf</filter-name>
  98         <filter-class>org.ajax4jsf.Filter</filter-class>
  99         <init-param>
 100             <param-name>forceparser</param-name>
 101             <param-value>false</param-value>
 102         </init-param>
 103     </filter>
 104     
 105     <filter-mapping>
 106         <filter-name>ajax4jsf</filter-name>
 107         <url-pattern>*.seam</url-pattern>
 108     </filter-mapping>
 109     
 110     <!-- ************************ Trinidad Filter **************************** -->
 111     <filter>
 112         <filter-name>Trinidad</filter-name>
 113         <filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class>
 114     </filter>
 115     
 116     <filter-mapping>
 117         <filter-name>Trinidad</filter-name>
 118         <url-pattern>*.seam</url-pattern>
 119     </filter-mapping>
 120     
 121     
 122     <!-- ************************ Seam Filter **************************** -->
 123      <filter>
 124         <filter-name>Seam Filter</filter-name>
 125         <filter-class>org.jboss.seam.web.SeamFilter</filter-class>
 126     </filter>
 127 
 128     <filter-mapping>
 129         <filter-name>Seam Filter</filter-name>
 130         <url-pattern>/*</url-pattern>
 131     </filter-mapping>
 132     
 133     <!-- ************************ SEAM Servlet Mapping ************************ -->
 134     <servlet>
 135         <servlet-name>Seam Resource Servlet</servlet-name>
 136         <servlet-class>org.jboss.seam.servlet.ResourceServlet</servlet-class>
 137     </servlet>
 138     
 139     <servlet-mapping>
 140         <servlet-name>Seam Resource Servlet</servlet-name>
 141         <url-pattern>/seam/resource/*</url-pattern>
 142     </servlet-mapping>
 143     
 144     
 145     <!-- ************************ Faces Servlet Mapping **************************** -->
 146     <servlet>
 147         <servlet-name>Faces Servlet</servlet-name>
 148         <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
 149         <load-on-startup>1</load-on-startup>
 150     </servlet>
 151     
 152     <servlet-mapping>
 153         <servlet-name>Faces Servlet</servlet-name>
 154         <url-pattern>*.seam</url-pattern>
 155     </servlet-mapping>
 156     
 157     
 158     <!-- ************************ Trinidad resources servlet **************************** -->
 159     <servlet>
 160         <servlet-name>Trinidad Resources</servlet-name>
 161         <servlet-class>org.apache.myfaces.trinidad.webapp.ResourceServlet</servlet-class>
 162     </servlet>
 163     
 164     <!-- This cannot be configured currently -->
 165     <servlet-mapping>
 166         <servlet-name>Trinidad Resources</servlet-name>
 167         <url-pattern>/adf/*</url-pattern>
 168     </servlet-mapping>
 169     
 170     
 171     <!-- ************************ Misc **************************** -->
 172     <session-config>
 173         <session-timeout>30</session-timeout>
 174     </session-config>
 175     
 176     <welcome-file-list>
 177         <welcome-file>
 178             index.jsp
 179         </welcome-file>
 180     </welcome-file-list>
 181     
 182 </web-app>

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2007-03-02 09:03:23, 6.5 KB) [[attachment:sample-web-1-2-0.xml]]
  • [get | view] (2007-02-28 13:55:38, 8.9 KB) [[attachment:sample-web.xml]]
 All files | Selected Files: delete move to page

You are not allowed to attach a file to this page.