I have a servlet which uploads file to server. Below is my code and is working file. Now, I want to check if the file uploading by the user is already exists. If so , I have to display a message to user "The file you are trying to upload already exists. Do you want to overwrite" with YES or NO actions.
How can I display this alert message from user.
Can anyone suggest me on this? [ October 30, 2007: Message edited by: Ben Souther ]
subject: check File Existence and display alert message