1 Reply Latest reply on Feb 15, 2007 9:15 AM by Shane Bryzak

    Could not find SeamMultipartFilter when using s:fileUpload

    Gus Gu Expert

      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 Master

          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>