1 Reply Latest reply on Dec 2, 2011 2:02 AM by lightguard

    Send MultiPart request from Java Applet-External POST to SEAM3 .xhtml page

    silni

      Hi,


      How can Multipart request which send's the data to let say one page http://localhost:8080/bla-services/services/filechunkreceive be intercepted with something like this:




      @PostConstruct
      public void create() {
       log.info("Page has been started!");
       MultipartRequest multipart = (MultipartRequest) FacesContext.getCurrentInstance().getExternalContext().getRequest();
       for (UploadedFile up : ((MultipartRequest) multipart).getUploadedFiles()) {
           log.info(up.getName());
       }
      }





      So I can get files and parameters from EXTERNAL POST in my case Applet?


      All this multipart send is already working with C# so there is no problems on client side.


      Thank you.