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

    problem in using a4j:mediaOutput

    Ahmet temiz Novice

      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