<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi Balz<br>
      <br>
      you mean like uploading an image for example:<br>
      <br>
      <a class="moz-txt-link-freetext" href="http://www.musealia.org/en/index.html">http://www.musealia.org/en/index.html</a><br>
      <br>
      ?<br>
      <br>
      If so, please let me know and I can send you the source code.<br>
      <br>
      Thanks<br>
      <br>
      Michael<br>
      <br>
      <br>
      Am 23.09.16 um 16:47 schrieb basZero:<br>
    </div>
    <blockquote
cite="mid:CAOXzDSER_0_WdHy6dKPTF1si0EVs_44Ryx4YtDNd5AOC43_Vnw@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi,
        <div><br>
        </div>
        <div>does anybody have a running example with the current Yanel
          release and Java 8 and Tomcat 7?</div>
        <div>Thanks for sharing.</div>
        <div><br>
        </div>
        <div>I tried out at least 4 variations, none of them works.</div>
        <div><br>
        </div>
        <div>HTML:</div>
        <div>
          <div><form name="test123" action="/uploader"
            enctype="multipart/form-data" method="post"></div>
          <div>  <input type="file" name="file" multiple="true"/></div>
          <div>  <input type="hidden" name="usecase" value="1"/></div>
          <div></form></div>
        </div>
        <div><br>
        </div>
        <div>Java:</div>
        <div>As Tomcat 7 comes with Servlet 3.0, I tried the </div>
        <div>request.getParts()</div>
        <div>approach.</div>
        <div><br>
        </div>
        <div>I also tried request.getFilenames() approach.</div>
        <div><br>
        </div>
        <div>Also using the Apache Commons Fileupload library didn't
          work:</div>
        <div>
          <div>ServletFileUpload upload = new ServletFileUpload();</div>
          <div>FileItemIterator iter = upload.getItemIterator(request);</div>
        </div>
        <div><br>
        </div>
        <div>Any help is appreciated. Can't believe that today it is
          still this hard to get a multipart upload working on Java... </div>
        <div><br>
        </div>
        <div>Second question: </div>
        <div>Did anybody run Yanel on Tomcat 8? Because Tomcat 8 would
          come with Servlet 3.1 which has bugfixes for the multipart
          thing.</div>
        <div><br>
        </div>
        <div>Cheers, Balz</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <br>
  </body>
</html>