aspose file tools*
The moose likes I/O and Streams and the fly likes writeObject to a cookie Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "writeObject to a cookie" Watch "writeObject to a cookie" New topic
Author

writeObject to a cookie

Jes Sie
Ranch Hand

Joined: Jul 24, 2001
Posts: 188
Hi,
This is my first time posting into this forum.
I'm currently in a Servlet env, and I need to serialise a Serialisable class....and then save that serialised object as String so that I can save it as a Cookie value.
Can someone please give some sample code on how to serialised an object without using FileOutputStream?
------------------
Thank you.
- Simon See
simon-ivy@usa.net
-after office hours-
necro-mani-cide


Thank you.<br /> <br />- Jess Sie<br /> <a href="mailto:jess@see-consulting.com" rel="nofollow">jess@see-consulting.com</a>
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: writeObject to a cookie