-
Sep 28th, 2010, 01:30 AM
#1
Problem in appending to a file
Hi I am trying to append to a file but getting an error: File already exists
private FlatFileItemWriter<T> delegate;
FileSystemResource resource = new FileSystemResource("abc.txt");
this.delegate.setShouldDeleteIfExists(true);
this.delegate.setResource(resource);
this.delegate.open(ec);
this.delegate.write(list);
this.delegate.close();
Please help
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules