This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
i am occuring probelom while downloading file through servlets following are the steps i have done... Step 1)get the filename Step 2)Set the header as content-disposition Step 3)after this save dialog opened and the control is given to saving the file
my question is how can i track the download? ie..,Tracking Download, like completion of download
while performing the operations file downloading ,it takes control and after downloading operations i redirected to new JSP page... but ITS not GOING to next page... You can't do this. The client sends a request, you send a response and you only get to send one response. To do your trick you'd either have to send two responses ie download this and go here, or you would have to get the client to send two requests.
This all sounds like too much work for no real purpose, but that's just my opinion.