This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Servlets and the fly likes Problem returning serialized CachedRowSetImpl in servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Problem returning serialized CachedRowSetImpl in servlet" Watch "Problem returning serialized CachedRowSetImpl in servlet" New topic
Author

Problem returning serialized CachedRowSetImpl in servlet

Alejandro Barrero
Ranch Hand

Joined: Aug 01, 2005
Posts: 321
I am trying to return a string with a serialized CachedRowSetImpl object with the following code

The problem is that even though a large string is constructed (it is working with serialization and XMLEncoder--unfortunately Gson is giving StackOverflow), the client is getting only a small part of the beginning of the string:


Your help will be greatly appreciated,
Alejandro Barrero
Alejandro Barrero
Ranch Hand

Joined: Aug 01, 2005
Posts: 321
Resolved. I have to read multiple lines.
 
 
subject: Problem returning serialized CachedRowSetImpl in servlet