3 Replies Latest reply on Mar 2, 2007 8:36 AM by Daniel Young

    1.2.0GA- Where has

    Daniel Young Novice

      Hi guys,

      As part of JBSEAM-790, the org.jboss.seam.servlet.MultipartConfig class was removed. It looks to me like this was unintentionally removed along with the Filter classes.

      The 1.2.0 docs still refer to this class as the component to use for configuring multipart requests.

      What has happened here? I can't upgrade to 1.2.0 without commenting this guy out from my components.xml...

      thanks,
      Daniel.

        • 1. Re: 1.2.0GA- Where has MultipartConfig gone?
          Daniel Young Novice


          TIP: putting quotes in a subject line causes it to truncate :(

          • 2. Re: 1.2.0GA- Where has
            Shane Bryzak Master

            It's been replaced. Here's the new components.xml entry:

            <web:multipart-filter create-temp-files="true"
             max-request-size="1000000"
             url-pattern="*.seam"/>


            You also need to add Seam Filter to web.xml:

            <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>


            • 3. Re: 1.2.0GA- Where has
              Daniel Young Novice


              ahh, thank u kindly! i was looking at the 1.2.0 doco pre-patch1, it's all updated now.

              cheers,
              daniel.

              "shane.bryzak@jboss.com" wrote:
              It's been replaced. Here's the new components.xml entry:

              <web:multipart-filter create-temp-files="true"
               max-request-size="1000000"
               url-pattern="*.seam"/>


              You also need to add Seam Filter to web.xml:

              <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>