How to access a simple file or folder from Tomcat webapps folder
Posted
by Ankur
on Server Fault
See other posts from Server Fault
or by Ankur
Published on 2010-05-20T08:23:03Z
Indexed on
2010/05/20
8:32 UTC
Read the original article
Hit count: 384
I want to be able to access a folder from my tomcat webapps folder so that I can give someone a URL like:
http://localhost:8080/myFolder/myFile.f
And in a web browser if they point to this they should start downloading the file.
But in reality I get a 404 error when I try to point to this location.
How can I solve this or get around it.
© Server Fault or respective owner