I have a form which user enters data and upload a picture, when user clicks submit, the browser would go to a "confirmation page(its actually blank)", I'd rather have a pop-up confirmation message that when user clicks ok it refreshes the page.
some details: first, the user enters data in the textfields and selects a file to upload
when user clicks "submit button", a confirmation page pops up, user can click "OK" or "Cancel"
if use clicks "OK", servlet is called to handle the form data including the file user wants to upload, if form submit is successful then a "success" pop up
mine seems to go to the blank confirmation page every time, no success pop up