balakrishnabilla billa wrote:please give the correct path where you wanted to create a file in server
But, of course, hard-coding the path as a
string would be a very bad practice indeed.
Rather, determine the location programmatically.
Also, do you really want to upload a file
into the web app? Really? What happens when you have to redeploy and update?