Subject: Download using servlet
HI ALL: My company offers some of it products for download, but we allow only authorized user to access these downloads, and for this reason the download is done via servlets (servlet stream writes the complete file at client end) but i m noting a strange thing in this, when user click on download than a dialog on browser asking them to open or save the file, now if the user, clicks on cancel than also my servlet executes complete, though the user is infact not downloading the file, It must be because that servlet is called as soon as user clicks on download link, BUT there must be some way out to prevent this, Is there? Is someone else also noted or faced this thing. Cheers Hemant |