It's not a secret anymore!
The moose likes Servlets and the fly likes Why this error StreamCorruptedException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Why this error StreamCorruptedException" Watch "Why this error StreamCorruptedException" New topic

Why this error StreamCorruptedException

arun mahajan
Ranch Hand

Joined: Dec 07, 2001
Posts: 305
I was trying to communicate to another program using Net Package and streams...the code snippet is given below...
But it fails to send the request and give me following error: Caught EOFException while reading the stream h
at LogoServer.test.NewServer.readLocal(Compiled Code)

[ April 08, 2002: Message edited by: arun mahajan ]
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

Let's keep it to one post...
I agree. Here's the link:
subject: Why this error StreamCorruptedException
It's not a secret anymore!