This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Upload problem using MultiPartRequest" Watch "Upload problem using MultiPartRequest" New topic

Upload problem using MultiPartRequest

Delphine, HEMERY

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
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.
I agree. Here's the link:
subject: Upload problem using MultiPartRequest
It's not a secret anymore!