Client send a modified file to server,Server Cant read EOF(run infinite)

client modifying the "text file" and send to server.In the server side i try to read.i read all data but cant get end of File......so that it execute infinite.

i tried to used all I/O.

So that i created text file manually.Server read that file and terminate.

brief summary:

--

client::

--

1.The given file is ex: index.txt

2.Copy the all values from index.txt into arraylist

3.And then copy the arraylist values into Index.txt i.e overide the index.txt

4.And sending to server.

Server:

-

1.It read the details upto EOF

2.Server cant get EOF (run Infinite problem is running infinite..............)

[688 byte] By [sivanandana] at [2007-11-27 11:39:14]
# 1

Crossposted and answered in Networking.

ejpa at 2007-7-29 17:24:56 > top of Java-index,Java Essentials,New To Java...