aspose file tools*
The moose likes JSP and the fly likes Error uploading file in Mac OS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Error uploading file in Mac OS" Watch "Error uploading file in Mac OS" New topic
Author

Error uploading file in Mac OS

Naveen Mishra
Ranch Hand

Joined: Nov 20, 2005
Posts: 75
Hi,
I'm trying to upload a file using <input type="file" ... >
my form is like <form name="someName" enctype="multipart/form-data" .... >

This is working fine with IE on Windos but , causing problem with Safari on Mac machine.

Also, if I don't upload any file and click on Back button in my page, it throws an exception "file size unknown"

If I remove "enctype" entry from jsp-form , back button functionality works fine but file upload fails.

Any help for this behaviour???

Thanks ..
Naveen Mishra
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Error uploading file in Mac OS