File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Size limit of the Request Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Size limit of the Request" Watch "Size limit of the Request" New topic

Size limit of the Request

Mick Techoes

Joined: Mar 20, 2006
Posts: 3
How much data can be put into request object using request.setAttribute
when data is cahnged between servlets or jsps?

Are there any rule or suggestions that how much data the request object can


Bashee Singhal

Joined: Aug 25, 2005
Posts: 3
Max Post Size (in bytes) for reading HTTP POST data in a servlet request. MaxPostSize < 0 means unlimited


Attribute: MaxPostSize
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

There is no fixed size.
The request object (like the session object, and context object) is nothing more than a map of references to objects on the heap.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63852

Originally posted by Bashee Singhal:
Max Post Size ... Attribute: MaxPostSize

Even if the OP is using weblogic, this has nothing to do with the issue.

[Asking smart questions] [About Bear] [Books by Bear]
Manesh Kumar
Ranch Hand

Joined: Mar 21, 2006
Posts: 94
It depends on the Heap Size and the available RAM.

I agree. Here's the link:
subject: Size limit of the Request
It's not a secret anymore!