This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
I have written a servlet for downloading .doc or .xls files to the client when the client clicks on a link. But, on the client side, the Open/Save dialog box appears twice. I would basically like to know whether the response.addHeader() statement or the response.setContentType() statements result in the Open/Save dialog box appearing. BTW, the link for downloading the Word/Excel files are inside Flash (.swf) files.
Well, I have solved the problem by commenting the response.setHeader line. But now, the problem is that it is displaying a Page Not Found error on certain client machines, while it downloads properly on other client machines. Wonder if this has got anything to do with IE settings?