jQuery in Action, 2nd edition*
The moose likes JSP and the fly likes Unexpected EOFexception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Unexpected EOFexception" Watch "Unexpected EOFexception" New topic
Author

Unexpected EOFexception

Pan Niko
Ranch Hand

Joined: Mar 19, 2011
Posts: 86

I have a JSP file which taking methods from a Java class, the problem is the first time im running Tomcat, when im trying to submit something i have EOFexception, if i press the F5 then page come back normally. Also the method im calling is just scanning the object file and decrease by 1 all elements from an XML file. However instead of decrease by 1, decrease them by 2. Checked how many times method executed per time and i noticed that every action perform twice. Any idea, why?
thank you
 
wood burning stoves
 
subject: Unexpected EOFexception
 
Similar Threads
Read data to the xml file from the database?
Help needed- Options for increasing performance
another File reading problem
How can I write a new record at the end of random access file of database?
File reading