I my application I'm checking the size of file in server side(servlet) So when i upload file (above 20mb) Its Taking too time to parse the request in server side.As i'm using appache API to parse the request ,and i also tried in browser side using java scripts but it's not compatible with Mozilla and other browsers please can any body tell me the solution to over come .so that when i upload more than the limit it should alert me
Mark E Hansen wrote:On the server side, can't you just check the content-length header and refuse the connection if the size is too large?
I believe the Apache file upload product provides something which allows you to do that. I don't have the documentation handy but it shouldn't be too hard to look it up for somebody who does have the documentation.
Joined: Apr 06, 2009
I believe the Apache file upload product provides something which allows you to do that.
Please can any body give me the documentation or some hint regarding this