1 Reply Latest reply on Nov 27, 2008 1:44 PM by arissonleal

    a:mediaOutput + seam

    arissonleal

      Hi,


      I'm using the a:mediaOutput and it just display images with small size like 3,40 KB if is greater than this don't display.


      My paint method:


      public synchronized void paint(OutputStream out, Object data)
                     throws IOException {
            out.write(((LayoutData) data).getData()); 
      }
      



      My web.xml:


      <filter>
        <filter-name>Seam Filter</filter-name>
        <filter-class>org.jboss.seam.servlet.SeamFilter</filter-class>
        <init-param>
           <param-name>createTempFiles</param-name>
          <param-value>false</param-value>
        </init-param>
        <init-param>
          <param-name>maxRequestSize</param-name>
          <param-value>2000000</param-value>
        </init-param>
       </filter>
      



      what could be the problem ?