This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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: 309
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: 309
Resolved. I have to read multiple lines.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Problem returning serialized CachedRowSetImpl in servlet
 
Similar Threads
Problem with serialization
Statement.executeQuery fails --RESOLVED--
How to specify the name of the database
HELP! Applet's trouble with Servlet's response
I'm trying to send XML to a servlet but the input is always null