Path to a file in a webapp under GlassFish
Posted
by Slavko
on Stack Overflow
See other posts from Stack Overflow
or by Slavko
Published on 2010-06-01T23:47:13Z
Indexed on
2010/06/01
23:53 UTC
Read the original article
Hit count: 179
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?
© Stack Overflow or respective owner