java - Tomcat directory navigation for Localhost -


hi in process of creating web application jsp/javaservlet. problem have opening file in different directory current java class. need understand why not picking directory.

note creating program on localhost until done export .war file , set permissions file zilla or linux commands.

i got file location string running index page , copying address bar.

my code:

object obj = parser.parse(new filereader("http://localhost:8080/practical_3_jsp/inc/data/mydata.json")); 

the result:

http status 404 - requested resource not available. 

path map:

note have tried:

"http://localhost:8080/practical_3_jsp/inc/data/mydata.json" 

image location: http://postimg.org/image/xcu5y82vb/