Path to a file in a webapp under GlassFish
- by Slavko
How do I specify the path to a file in a web application? I have a folder named 'templates' under WEB-INF, I've been told that under GlassFish v3 the path should look like this:
./WebContent/WEB-INF/templates
but this way I'm getting a file not found exception. What do I have to change in order to make it work?