This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
I have a servlet that dynamically generates images. Everything is working fine, except when the client application (say, a browser) attempts to save the image, the filename is something like imgserver.do.png. I would like to be able to control the filename of the generated image, as visible to the client. I know there is a way to do this, I think bby setting a response header, but I can't remember how. Can anyone help?