1 Reply Latest reply on Dec 12, 2008 4:31 AM by ilya_shaikovsky

    problem in using a4j:mediaOutput

    orkun

      hello

      I am trying to get images from a
      database and display them by
      "<a4j:mediaOutput"

      like this way:

      while (rs.next()) {
      imgBytes = rs.getBytes(1);
      }

      OutputStream out;
      out.write(imgBytes) ; // this is problamatic

      what am I doing wrong ?

      regards