I need to open a file edit it and save it back. I need some sample code. Somebody in one of the other forums posted and example. It was just an incomplete snippet. The examples on the apache web site do not seem to work.
I could run this example without any problems. Add all the jar files in the classpath. (You are specifying a directory). I could get this done from eclipse, the example doesn't print anything on the console.But it created a file.