These resources have been put in a folder which is NFS shared. This folder has been mounted on the app's server, above the app's folder, at server's root.
So, as it is actually working, i guess the js interprets this path relatively to the Tomcat's configuration. And that's makes few sense to me. Can someone give me keys to understand what *really* happen ?
- Secondly, i 'm wondering if i will be able to protect these XML file from direct access from a browser (i'm thinking about setting a htaccess)... What do you think ?
I hope you will forgive the imprecise nature of my questions
Thanks for having read
Joined: Mar 27, 2011
Oh god. I'm so sorry... I just told random things, i didnt' have a clue. All this is new for me, i dont know about NFS and tomcat conf neither.
Secondly, the fact that the folder is NFS shared has nothing to do with what happens.
Simply put, i have loaded files on a web server, and the code in the .js makes a http access to a file.
There is nothing more to understand.
Thanks for your attention
subject: NFS access from a J2EE Tomcat app, how do they work