posted 15 years ago
Ok, I have this java servlet that gets a GZip file and sends it to the response, so then anyone can download it form a browser. The problem is that when you download the file, the file name is not the name of the GZip file i am sending. It is the name of the Java Servlet i am running. How do you set the specific name of the file through the Servlet? I know there is someway but i just cant figure it out. Thanks.