Ravi,
file:// means a file on the local users Windows machine. If you want a path on the server, you need to write a
servlet to retrieve it.
If this is a real world application, you want to use some sort of code/key rather than the fully qualified file path. For security, it is best the user not know too much about your server.