While it could be argued it's not a bug, it certainly would be a nice
enhancement to have ResultImpl implement Serializable. There are, however, a
couple of things you can do in the meantime. Depending on your needs, you could
just store the SortedMap[] returned by getRows in the session. Or you could
create your own Result implementation that is serializable - the code in
ResultImpl isn't really all that complex. Unfortunately, Bugzilla appears to be
unreachable or I'd see about submitting an enhancement request...

Quoting Antony Paul <[EMAIL PROTECTED]>:

> Hi,
>     I am using Result to pass data from servlet to JSP. I use this to
> display the result of a search 20 rows per page. ie. I have to keep it in
> session. Since it is not serializable it is throwing
> java.io.NotSerializableException when context is reloaded. Earlier I was
> using beanutils RowSetDynaClass instead of Result. Is there any way to
> serialize it. I think Result is a map of Strings only.
> 
> Antony Paul.

-- 
Kris Schneider <mailto:[EMAIL PROTECTED]>
D.O.Tech       <http://www.dotech.com/>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to