I have a
J2EE web app created in netbeans 6.9,
It has a package 'main' with a class that should write the objects to file.
The class that writes the objects has a main method which can be run to
test the objects get written, which they do.
Essentially I have the code,
Which creates the testFile.ser file at the root of the project.
But when I run the web-app locally, the file isn't written.
I'm thinking I need to adjust the path, like "/testFile.ser" or something, but this doesn't work.
Can anyone help? Thanks