Tomcat is not an http server. All tomcat links to link services, not files.
You will need to implement another service that will send the csv file on request if you want to receive it via any http url. A URL, for example http://localhost/myapp/input.csv, requires an HTTP server such as apache httpd.
(I hope I understood your question correctly ...)
source
share