1 Reply Latest reply on Dec 22, 2008 12:55 AM by Mikail Ahundov

    seamspace example corrupt uploaded images (postgres 8.3)

    Mikail Ahundov Newbie


      I use default seamspace example from Seam 2.1 with Postgres 8.3.
      It store uploaded images in text format table column.

      But returned image is corrupt
      Seamspace reads this image to bytearray data, but on

      icon = new ImageIcon(data);

      It returns -1.
      I think there are errors on uploading to postgres or on reading from postgres.

      How to find when image is corrupted???