[jboss-cvs] jboss-seam/examples/seamspace/resources/WEB-INF ...

Shane Bryzak Shane_Bryzak at symantec.com
Thu Feb 8 11:14:11 EST 2007


  User: sbryzak2
  Date: 07/02/08 11:14:11

  Modified:    examples/seamspace/resources/WEB-INF   components.xml
                        web.xml
  Log:
  Use SeamFilter
  
  Revision  Changes    Path
  1.21      +5 -6      jboss-seam/examples/seamspace/resources/WEB-INF/components.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: components.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/seamspace/resources/WEB-INF/components.xml,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -b -r1.20 -r1.21
  --- components.xml	8 Feb 2007 10:42:21 -0000	1.20
  +++ components.xml	8 Feb 2007 16:14:10 -0000	1.21
  @@ -3,11 +3,13 @@
               xmlns:core="http://jboss.com/products/seam/core"
               xmlns:security="http://jboss.com/products/seam/security"
               xmlns:drools="http://jboss.com/products/seam/drools"
  +            xmlns:filter="http://jboss.com/products/seam/filter"
               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
               xsi:schemaLocation=
                   "http://jboss.com/products/seam/core http://jboss.com/products/seam/core-1.1.xsd 
                    http://jboss.com/products/seam/components http://jboss.com/products/seam/components-1.1.xsd
                    http://jboss.com/products/seam/security http://jboss.com/products/seam/security-1.1.xsd
  +                 http://jboss.com/products/seam/filter http://jboss.com/products/seam/filter-1.1.xsd
                    http://jboss.com/products/seam/drools http://jboss.com/products/seam/drools-1.1.xsd">
   
       <core:init jndi-pattern="@jndiPattern@" debug="false"/>  
  @@ -19,6 +21,8 @@
       
       <security:identity authenticate-method="#{authenticator.authenticate}"/>
   
  +    <filter:multipart-filter create-temp-files="true" max-request-size="1000000" url-pattern="*.seam"/>
  +
       <drools:rule-base name="securityRules">
          <drools:rule-files><value>/META-INF/security-rules.drl</value></drools:rule-files>
      </drools:rule-base>
  @@ -35,9 +39,4 @@
           <action expression="#{redirect.returnToCapturedView}"/>
       </event>    
       
  -    <component class="org.jboss.seam.servlet.MultipartConfig">
  -        <property name="createTempFiles">true</property>
  -        <property name="maxRequestSize">1000000</property>
  -    </component>
  -            
   </components>
  \ No newline at end of file
  
  
  
  1.11      +12 -2     jboss-seam/examples/seamspace/resources/WEB-INF/web.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: web.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/seamspace/resources/WEB-INF/web.xml,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -b -r1.10 -r1.11
  --- web.xml	8 Feb 2007 10:42:21 -0000	1.10
  +++ web.xml	8 Feb 2007 16:14:10 -0000	1.11
  @@ -11,6 +11,16 @@
           <listener-class>org.jboss.seam.servlet.SeamListener</listener-class>
       </listener>
   
  +    <filter>
  +      <filter-name>Seam Filter</filter-name>
  +      <filter-class>org.jboss.seam.servlet.SeamFilter</filter-class>
  +    </filter>
  +    
  +    <filter-mapping>
  +      <filter-name>Seam Filter</filter-name>
  +      <url-pattern>*.seam</url-pattern>
  +    </filter-mapping>
  +
       
       <!-- Propagate conversations across redirects -->
   
  @@ -36,7 +46,7 @@
           <url-pattern>/*</url-pattern>
       </filter-mapping>    
       
  -    <filter>
  +    <!--filter>
           <filter-name>Seam Multipart Filter</filter-name>
           <filter-class>org.jboss.seam.servlet.SeamMultipartFilter</filter-class>
       </filter>
  @@ -44,7 +54,7 @@
       <filter-mapping>
           <filter-name>Seam Multipart Filter</filter-name>
           <url-pattern>*.seam</url-pattern>
  -    </filter-mapping>
  +    </filter-mapping-->
   
       <!-- MyFaces -->
   
  
  
  



More information about the jboss-cvs-commits mailing list