permaculture playing cards*
The moose likes Servlets and the fly likes Any size limit for response object ?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Any size limit for response object ??" Watch "Any size limit for response object ??" New topic
Author

Any size limit for response object ??

Dhondiba Joshi
Ranch Hand

Joined: Jan 23, 2004
Posts: 39
Is there any size limit for response object ?.
i am doing
ServletOutputStream out = res.getOutputStream();
out.println(strObject);
after some amount of data (which is varaible) application crashses.
Help


SCJP,SCWCD
john smith
Ranch Hand

Joined: Mar 04, 2004
Posts: 75
It depends entirely on the underlying mechanism you use to deliver the response. Assuming this servlet is handling HTTP, then that is your web server.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Any size limit for response object ??
 
Similar Threads
Hashmap size limit
limitting the size of SOAP response
buffer size in page directive
Maximum size of Java Object
Is there a limit to the size of object that can be kept in a session?