1 Reply Latest reply on Feb 15, 2007 9:15 AM by shane.bryzak

    Could not find SeamMultipartFilter when using s:fileUpload

    gus888

      According to the docs, I added the following codes in web.xml

      <filter>
       <filter-name>Seam Multipart Filter</filter-name>
       <filter-class>org.jboss.seam.servlet.SeamMultipartFilter</filter-class>
       </filter>
      
       <filter-mapping>
       <filter-name>Seam Multipart Filter</filter-name>
       <url-pattern>*.seam</url-pattern>
       </filter-mapping>
      but when I run project, server could not find org.jboss.seam.servlet.SeamMultipartFilter. I unziped the seam lib files, and I also did not find the class. I use Seam CVS20070214. Anybody can give some direction? Thanks.

        • 1. Re: Could not find SeamMultipartFilter when using s:fileUplo
          shane.bryzak

          This has been replaced with a universal Seam filter, which incorporates all of the previous functionality of the redirect filter, multipart filter, exception filter and character encoding filter. The configuration chapter in the documentation has been updated to cover this stuff, but in general you configure it in web.xml like this:

           <filter>
           <filter-name>Seam Filter</filter-name>
           <filter-class>org.jboss.seam.web.SeamFilter</filter-class>
           </filter>
          
           <filter-mapping>
           <filter-name>Seam Filter</filter-name>
           <url-pattern>/*</url-pattern>
           </filter-mapping>