Load json file with absolute path

I have a java web app running on tomcat8 on my computer.
In a jsp I have a js function loading json files from WebContent folder, but I want to load this file “/home/test/test.json”.

I searched but don’t find how to do it.
How can I ?

Source: jsp

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.