This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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


Win a copy of Building Microservices this week in the Design forum!
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.
 
Have you checked out Aspose?
 
subject: Any size limit for response object ??
 
It's not a secret anymore!