Friday, 15 April 2011

java - HTTP Request (POST) field size limit & Request.BinaryRead in JSPs -


First of all, my Java is out loud and I have never used JSP or servlet, but I have to help someone else I am trying to solve a problem.

A form provided by Javascript is being posted back to JSP. Some of the fields in this form are more than 100KB size but when the form field is being received on the JSP side, the area value is being scaled down to 100 KB.

Now I know that there is such a problem in ASP request. Use the form which can get around from the request. Is BinarRed an equivalent in Java?

Or alternatively there is a single setting in WebSphere / Apache / IBM HTTP server that gets around the same problem?

Since the post request must be in-store to provide the functionality needed by the servlet server by the servlet container To be kept, most of the servlet containers have a configurable size limit to prevent dosage attacks, because otherwise a small number of bogus clients can excite the server to run out of memory.

This is a little strange, if the webspreader is quietly reducing the request rather than failing properly, but if this is the reason your problem is, you can get the configuration options.


No comments:

Post a Comment