4 Replies Latest reply on Jan 17, 2012 9:16 AM by Aniket Murtarkar

    how to Download / open file using richfaces

    Aniket Murtarkar Newbie

      Hello,

       

      I am using richfaces 4.1 M4 along with hibernate.

       

      I am uploading pdf file using  <rich:fileUpload> and I am saving data to mysql database in byte array format (byte []).

      I am retriving that data also.

       

      but I have not created any copy of perticular file and stored it in any server location. It is only in database only.

       

      but now I want make available such pdf files to download or 'open and save' either option.

      I am unable to do that so can any one help me to do so.

       

      Regards,

      Aniket