I am looking for an explanation on how i can use the response.setContentType("application/unknow") and response.setHeader to send an
XXX.exe to a client computer. I have a filed called XXX.exe already created and sitting on my webserver in the directory /usr/iplantet/servers/docs/Cognos/XXX.exe. I want to create a servlet that is in /usr/iplanet/servers/servlet/Cognos/ and when it runs all it does it send this exe file to
client computer and give them the option to save file. I dont want to save as a default .txt file but i want to save the file so it is still a .exe file by default. I am looking for an explanation on how setContentType and response.setHeader work and also how i can use them to do the above problem.
thanx for time