I was getting the "getOutputStream() has already been called for this response" problem and figured out a solution. In my case, I was able to switch from getOutputStream() to getWriter() because I was dealing with text files, and the error message stopped.
I think the error message is misleading, I think you can get it if either getOutputStream() gets called more than once OR if both getOutputStream() and getWriter() are called. I wonder if the idea is to prevent both text and binary data from being written into a response. I understand that this might not help everyone, but I thought I'd offer it up. It might be worthwhile to look at the source for HttpServletResponse to see the conditions under which the error is thrown. Uncle Brad A Cupit wrote: > >>> And it is strange because it happens only when I use https and >>> IE6. When it is http and IE6 it seems to be fine. > > these links may help: > http://eirikhoem.wordpress.com/2007/06/15/generated-pdfs-over-https-with > -internet-explorer/ > > http://forum.java.sun.com/thread.jspa?threadID=233446&forumID=45 > > Brad Cupit > Louisiana State University - UIS > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Two-problems%3A-Struts2-%2B-https-%2B-file-load-and-Struts2-%2B-file-load-%2B-java.lang.IllegalStateException%3A-getOutputStream%28%29-tp16832576p17809331.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]