title: Error when upload file
body: <pre><code>  if(ServletFileUpload.isMultipartContent(request))  // ako je forma multipart ulazimo u naredbu
             {
                 FileItemFactory factory=new DiskFileItemFactory();
                 ServletFileUpload upload=new ServletFileUpload(factory);
  
                 List items=upload.parseRequest(request);
                 Iterator iterator=items.iterator();
  
                 while(iterator.hasNext()) {
                     FileItem item = (FileItem) iterator.next();
                     if (!item.isFormField())
                     {
                         out.print("Velicina fajla je: "+item.getSize());
                     }
                 }
             }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/6heI8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6heI8.png" alt="enter image description here"></a>
  I try to upload file on the server over html form,where server(jsp page) parse them and read size of file and back answer to client the size of the file.But error in app shows when selected file on disk and clicked submit button. </p>