I need to write a code to read a folder in C:\ from server side.
I tried to read about java.policy. But I don't understand about it.
Please explain me how to fix this problem.
Bear Bibeault wrote:Where is "C:\"? On the server, or on the client? If the former, simply use normal Java file I/O. If the latter, you can't do that.
To get a file from the client to the server, you'll need to have the user upload the file. See the JSP FAQ for information on creating upload capability.
Drive C:\ on server.