3 Replies Latest reply on Oct 19, 2010 5:16 AM by cash1981

    File Upload path

    mohans

      Hi,


         I have an excell file to be uploaded to the database.


         How could I proceed with it?


         Help with code will be greatly appreciated.

        • 1. Re: File Upload path
          hantsy

          Seam provide a very simple way to process file upload.
          There is s:fileUpload to process uploading UI...
          Create a Enitity with a @Lob byte[] field...binding the s:fileUpload data attribute to the field, when the entity is saved, the file is stored into database.

          • 2. Re: File Upload path
            mohans

            Could you please elaborate with example. Because I'm very new to seam.

            • 3. Re: File Upload path
              cash1981

              If you search a little in this forum you will find examples. Also the seam documentation is a good place to start