This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
My requirement is to get the file content from temporary file and then I am writing to one more file which I created and I need to download the same file. When I am executing the following code , I am able to download the file but I am seeing 10 lines with empty spaces. That means code is writing the conent in the new file from 10th line.Please corerct the code,why its writing content from 10th line in the new file.