aspose file tools*
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
Author

Size limit of the Request

Mick Techoes
Greenhorn

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
take?

Cheers

Mick
Bashee Singhal
Greenhorn

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

MBean: weblogic.management.
configuration.
WebServerMBean

Attribute: MaxPostSize
Ben Souther
Sheriff

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
Marshal

Joined: Jan 10, 2002
Posts: 61437
    
  67

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] [Bear's FrontMan] [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.


Manesh
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Size limit of the Request