1 Reply Latest reply on Mar 7, 2009 1:43 PM by Xavier Neidoo

    Using seam fileupload backend functionality from another framework

    Xavier Neidoo Newbie

      Hi there,


      is it possible to use the seam fileupload backend functionality from another framework i.e. flex?


      Possible approach:
      multipart/form-data post to the seam backend with the corresponding http-parameters so that the filestream is written to the bean.



      Regards,
      Xavier.

        • 1. Re: Using seam fileupload backend functionality from another framework
          Xavier Neidoo Newbie
          In Detail,

          is it possible to use the seam fileupload backend functionality using a simple HTML form on the client? How would the parameters look like?

          form action=http://127.0.0.1:8080/portal/file.seam
          enctype='multipart/form-data' method='post'

          input type="file" name="datafile"
          input type="submit"


          Debugging the request makes the file available in org.jboss.seam.web.MultipartRequestImpl -> parameters[0] -> key/value

          How could the file be accessed (accessors, ...)?


          Regards,
          Xavier