It only does not have the correct behavior if i send the output to the browser. I want to change the name and the mime type. That part the mime type part works, but the filename does not change. It gives the name of the jsp.
Has anyone got a java example in which they can change the filename of the file that will be opened.