hi .... I am one Servlet where iam reading a file ....reading file is not a problem that function is working perfectly on my system ,....i wanted to know when this servlet is running on server how can i read a file which is located into client machine ...? please help me out thank you
You can't. If the servlet needs a file from the client file system, then you need to add a file upload capability to the web app. That's fairly easy to do with a library like Apache Commons FileUpload.