This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem returning serialized CachedRowSetImpl in servlet
 
Similar Threads
How to specify the name of the database
Statement.executeQuery fails --RESOLVED--
HELP! Applet's trouble with Servlet's response
I'm trying to send XML to a servlet but the input is always null
Problem with serialization