My
servlet will generate a different file for each client.
And I want the client to be able to download it and save it with a certain extension, say, *.PDF
The generated file is small, probably just about 1K, and it does not need to stay long on the server.
Somebody in this forum told me that I can store it in a session object, but then how can I have the user save that file as PDF by default?