How do I refer to a file that is in the following directory in Java web app:
webapps/WEB-INF/myfiles/filename

I have read that this has got to do with relative paths, but I do not understand how to do that.

This might shed a little light on the subject.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.