Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

writeObject to a cookie

 
Jes Sie
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic