Welcome to the JavaRanch, D Pasha!
HTTP is not a file server protocol. So you can't access files through it.
What you
can do is setup a webapp that returns the
contents of a file in response to a URL request. That is default behavior for resources inside a WAR (except for WEB-INF and its children). For any other location, however, you have to provide your own file-transfer logic. This can be done with a fairly simple
servlet that parses the URL to build a filename path, opens the file and copies its contents to the HttpServletResponse data stream.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.