I am making a web application in Eclipse (JSP) and use Tomcat as a server (integrated into Eclipse). I have to create the object below and specify the path to configuration file. This absolute path is working great: Store store = StoreFactory.create("file:///C:/Users/Aliens/workspace/myProject/WebContent/config/sdb.ttl");
However I am wondering why cant I use relative path? It should be "config/sdb.ttl" right (if the name of the project is a root)? But it cannot locate it this way (NotFoundException).