views:

303

answers:

1

I have a 1MB file to upload and the following is set and I get an exception. I think it is my buffer size and or the autoFlush setting.

currently:

<%@ page errorPage="error.jsp" buffer="500kb" autoFlush="false" %>

I tried to set the buffer to 2000KB but no luk. Any ideas?

Thanks

+1  A: 

That is the buffer for output, but a file upload is input.

The solution depends on your web framework.

Jason Cohen
Actually I guess I said it wrong. The file uploads ok. But when I uncomment the code to display the results in a grid it errors out. So I assume it is doing with the output. Does that makes sense? Thanks
JPJedi