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.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: probelom while usuing content-disposition in response.setHeader()