This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Are you sure that the exception is a result of the line with the release call in it? If you are relying on JSP line numbers reported in a stack trace, that's notorious for being almost right, but not quite. Perhaps you could show us a few lines of code before and after where you think the problem is. Also the full stack trace never hurts. And, are you calling getOutputStream() anywhere in your JSP code tree? hth, bear
You can't use getOutputStream and then do something that causes getPrintWriter to be called. This is what happens when you try to forward to /minnaqua/minnaquaFramesetMain.jsp Binary output from JSPs is a little tricky. You need to be sure your'e going to use the OutputStream before you call it. You can't call it and then decide to send character data via the PrintWriter. This is not allowed. You also need to be careful not to accidentally output character data before the OutputStream is called, since this will call the PrintWriter and you will not be allowed to call the OutputStream. It fits better in a Servlet. Dave