File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Error uploading file in Mac OS" Watch "Error uploading file in Mac OS" New topic

Error uploading file in Mac OS

Naveen Mishra
Ranch Hand

Joined: Nov 20, 2005
Posts: 75
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
I agree. Here's the link:
subject: Error uploading file in Mac OS
jQuery in Action, 3rd edition