I'm working on a Java code to copy the data from one csv file into another csv file .
The requirement is that files (multiple files) that are uploaded in a particular path has to be copied one at a time into another csv file(say tag.csv) in a different location.Later tag.csv will be picked up by a shell script and connect to Oracle DB to run a stored procedure .All of this is done repeatedly until all the uploaded files is processed and shell script is triggered for each file separately.
Now I'm in stuck in copying the csv data . I have tried using buffered reader,filewriter etc. but i'm unable to copy the data to tag.csv,but I could just read them .
Since Im new to java im finding it hard to understand where im going wrong. Help is much appreciated.