iam writing the contents to a excel through I/O
i am putting first statement as WRITE and then READ(from
excel) immediately..later user complains that he is not
getting the date by using READ ..wat could be the situation

Answer Posted / dharmender

in this case, after write statement we can put flush statement to force the buffered bytes to be written. then the read statement will show the date.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is Stream Tokenizer?

1939


What is the purpose of the finally clause of a try-catch-finally statement?

762


Is jvm a overhead?

807


Is it possible to stop the execution of a method before completion in a sessionbean?

806


What is JTS?

2058






Are there books about seam?

819


Do we need to override service() method

1366


What are externizable interface?

779


Why use a datasource when you can directly specify a connection details? (in a J2EE application)

3799


Why are my checkboxes not being set from on to off?

877


How database connectivity in XML is achieved?

1920


Why use POJO when I can use hashmap

2253


what is handle?

2071


how do you Handle Front End Application data against DB with example?

1707


What’s jboss cache in short?

812