buffer « Exception « JSP-Servlet Q&A





1. buffer overflow exception    coderanch.com

Hello, You are setting the page buffer size to 200kb and also setting the autoflush to false. Also when you are reading from file you are reading in bytes and converting that to int. Now this int is larger in size than that of a byte that you are converting. As you are reading one byte and converting to int the ...