aspose file tools*
The moose likes Java in General and the fly likes Upload problem using MultiPartRequest Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Upload problem using MultiPartRequest" Watch "Upload problem using MultiPartRequest" New topic
Author

Upload problem using MultiPartRequest

Delphine, HEMERY
Greenhorn

Joined: May 17, 2001
Posts: 2
I use MultiPartRequest to upload csv file, upload is ok when the size of the file is less than 15ko, but when I try to upload a file more than 15ko I have an Error 500, Error in server external filter.
Sean MacLean
author
Ranch Hand

Joined: Nov 07, 2000
Posts: 621
Are you using the O'Rielly package or custom code? If you're using the latter, I believe that there is a default limit specified in the source (if you don't create a new request with arguments indicating otherwise). Otherwise, it could be a server config that prevents really large uploads (a security features preventing denial of service attacks). The only other thing that comes to mind is that the server/servlet may be busy uploading data when the browser/serlvet tries to redirect. Therefore, the request is delayed and the browser times out. This is a bit of a long shot, though, and I'd look into the others first. Hope this helps.
Sean
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Upload problem using MultiPartRequest