This content has been marked as final. Show 4 replies
May I ask why the heck a JSP is extracting a local ZIP file? Not even considering the point that File I/O is rather discouraged (and not specified) in a JEE environment.
And is the ZIP file correct? And since when do directories have a MIME type? I don't fully understand your problem description.
The simplest way I could think of to upload 100-500+ images was bundling them all in a zip file and using a standard upload form that extracted the images to the server. I'm going to look for mime types to make sure only jpeg files are extracted.
So does the upload work or are you starting with a mangled ZIP in the first place?
The normal zip utility works just fine with the same file