Surya Kant wrote: it will search in the computer where your JSPs are running.
That is not correct. File systems paths address files on the system where the
browser is running. JSPs run on the server.
But yes, to serve files that lie outside a web app, a servlet can be used to read the file ad stream it as the response.