This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

ObjectInputStream  RSS feed

 
Chris as
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
how should the input file look like?
I tried it with a XML file, but there is always the same exception!

Normal ObjectInputStream code:


Exception:



THX for help

Chris
 
Joni Salonen
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The input file should look like it was written by ObjectOutputStream.

Please read this tutorial:
http://java.sun.com/docs/books/tutorial/essential/io/serialization.html
 
Chris as
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK, THX!^^
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!