Separate Content-Disposition from HTTPServlet Response Writer
I asked the question earlier about Content-Disposition breaking JSP code. Although I didn’t find an optimal solution, I did come to the conclusion of using a popup window to download the file. This way the parent UI doesn’t get blocked due to ‘Response Already Committed’ error.