I think this will help you.
You have a web server, e.g. Tomcat (Your servlet
container). You have deployed your web application
into ${tomcat.server.dir}/webapps/MyWebApp
ok!
Your files should be web accessible. It means you
should put them into a directory on the server in your
web application dir.
${tomcat.server.dir}/webapps/MyWebApp/MyFiles
Now you can give a link to this file. Your web address
to these files is something like this:
/MyWebApp/MyFiles/filename.ext
Consider that when you act this way, one can access
these files directly using this address:
http://your.domain/MyWebApp/MyFiles/