Originally posted by Priya Singh: Hi, I have to decide for a optimal solution. I have a form, on Submit , it disables the submit button and submit the form again which in turn executes Java code to check if the file exists on server or not. My problem is, that I want to give a message after teh check is done to the user that the file is found or not found and then do the processing (ve to create file if it doesnt exist) . I tried it with Java script but it doesnt seem to be a good option. any suggestions !