On 11/25/05, Tamas Szabo <[EMAIL PROTECTED]> wrote: > Well, that's why I said that it's a strange behaviour. > Because I'm pretty sure that everything goes over ssl in our app too. > And I tried executing the exact same code using a GET request and then I > don't get the confirmation box.
Okay, then I'm pretty sure it *is* the same thing. :) I just didn't make a note of the exact error message on the Wiki page. > I still don't understand what do you mean by sending IE some text? > Your whole webapp consisted just from a pdf generator? No, but this particular page was intended to be: 1. POST form over SSL 2. Display the PDF > And if not then why do you say that you sent some text > to IE before sending the PDF? Instead of trying to serve the PDF directly in response to the form post, I instead forward to a JSP that sends some HTML. That, IE can deal with. I also think it's a bug in IE, but it's not like we can wait around for them to fix it. :) If you search the archives either here, on tomcat-user or on comp.lang.java you'll probably find the original discussion. I don't remember where it was, and it was years ago now, but (as usual) I didn't come up with this solution on my own. > I'm not trying to bug you I just want to know the exact circumstances in > which this ?error? occurs. You're not bugging me, I'm happy to try to save you the *days* I went round and round with this. The problem seems to occur when a user posts a form over SSL, and you try to respond with a PDF. (It might be any binary content, I don't know.) The workaround is to respond not with the PDF, but with some HTML, in this case a bit of HTML that redirects to a URL where the PDF can be found. Don't hesitate to ask for more clarification-- unfortunately this was all so long ago that I'm having trouble coming up with a good explanation. -- Wendy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]