I have a web service that uploads a few files to the server. The service uses Glassfish V3. The folder and files it creates can be found in my domain folder in the Netbeans config/GF3 folder. When I try to read that file afterwards from my web application (which contains the web service), or from any other web application using the same server and domain, I get a "resource not available" message. What am I doing wrong?
For example, my web service operates from this url :
and is told to write to errors/
Say my file is test.txt, none of these paths gets me to the file that was written:
I am using Netbeans 6.9.1 and J2EE to develop this application.