I am using an input type = file in my application and the issue is with the file path.
The path is visible in i.e, but mozilla ff just renders the file name, How do i get the complete
file path in mozilla. HELP !!
Just clarifying what these guys have already said.
The file path is irrelevant.
If you are expecting to read the file via new File(pathToFile), think again. That file is on the client's machine. So it will initally work on your computer (if you are developing with your computer being both client and server) but once you deploy it you will get FileNotFoundExceptions.
The file input component sends the file with the request. You have to read the file from the request.
Check out a file upload library like the one found at apache commons.