java.lang.IllegalStateException: Already using output stream [closed]-情深已故的回答
java.lang.IllegalStateException: Already using output stream [closed]
after your scriptlet. It'll print something to the response outputstream, but you have already closed that one before.
What sense does it make to include tags in your response when what you actually want to do is stream a PDF back to the client?