Return-Path: Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 79431 invoked by uid 500); 8 Aug 2003 06:49:34 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 79409 invoked from network); 8 Aug 2003 06:49:33 -0000 Received: from absolut.his.de (192.124.237.1) by daedalus.apache.org with SMTP; 8 Aug 2003 06:49:33 -0000 Received: from 192.124.237.76 by absolut.his.de (InterScan E-Mail VirusWall NT); Fri, 08 Aug 2003 08:48:44 +0200 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: AW: IE6: Can't open dynamic PDF from applet->Furher Details! X-MimeOLE: Produced By Microsoft Exchange V6.0.4417.0 Date: Fri, 8 Aug 2003 08:50:09 +0200 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: IE6: Can't open dynamic PDF from applet Thread-Index: AcNcy7Zyn2NkTE+YQLSCOvlV1e1jZwAD62mgACbuzdA= From: "Skladovs, Victor" To: X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hello again! Here are a few results of my "investigation" on this topic: 1) I'm using Tomcat Basic Authorization with JDBCRealm (Tomcat 4.1.18). Cocoon is protected in web.xml like this: Cocoon /* * BASIC Cocoon Login If I open my IE and type in URL: http://icelande.his.de/cocoon/hello.pdf then after authentication IE says it a site CAN NOT be opened. if I simply click the link "Hello.pdf" that contains the same URL - It works! Everybody can test it! Please try it! icelande is in Internet. User: guest Passwort: test 2) All this works without problem, when I TURN OFF THE TOMCAT AUTHENTICATION for Cocoon! Any explanations and ideas? Thanx! Viktor -----Urspr=FCngliche Nachricht----- Von: Skladovs, Victor=20 Gesendet: Donnerstag, 7. August 2003 14:00 An: users@cocoon.apache.org Betreff: AW: IE6: Can't open dynamic PDF from applet Thanx! I'll try it. Hope it helps -:)) Viktor -----Urspr=FCngliche Nachricht----- Von: Conal Tuohy [mailto:conalt@paradise.net.nz] Gesendet: Donnerstag, 7. August 2003 12:08 An: users@cocoon.apache.org Betreff: RE: IE6: Can't open dynamic PDF from applet Hi Victor I think you need to have a look at the HTTP layer. What I use for these debugging situations is a little java app called "NetTool".=20 It's small but it's excellent for debugging HTTP, esp SOAP. You can use it to tunnel http connections, so you can see the HTTP request sent by your browser and also see the response from the server.=20 Or you can use it to make any kind of HTTP request, as a kind of browser. You can add headers, choose a method, and you can save your requests and use them again. Cheers! Con download it here: http://nettool.sourceforge.net/ > -----Original Message----- > From: Skladovs, Victor [mailto:Skladov@his.de] > Sent: Thursday, 7 August 2003 20:25 > To: users@cocoon.apache.org > Subject: AW: IE6: Can't open dynamic PDF from applet >=20 >=20 > Thanks to everybody for your answers! >=20 > This trick with ending .pdf doesn't work too! > I don't use https. >=20 >=20 > -----Urspr=FCngliche Nachricht----- > Von: J.Pietschmann [mailto:j3322ptm@yahoo.de] > Gesendet: Mittwoch, 6. August 2003 20:22 > An: users@cocoon.apache.org > Betreff: Re: IE6: Can't open dynamic PDF from applet >=20 >=20 > Skladovs, Victor wrote: > > Anybody of the community must have faced this problem, I believe. > > Are there workarounds for this problem? Why does it work with proxy > > (cache?)? >=20 > Check whether the Cocoon pipeline is exexuted multiple times for the > request, and fails after the first time. Check also > http://xml.apache.org/fop/faq.html#iex-servlet-multiple > That's also often the reason why retrieving PDF over HTTPS fails. > It may help to use > applet.getAppletContext().showDocument( > "http://myserver/cocoon/table.pdf?par1=3D1&par2=3D2&e=3D.pdf"); >=20 > J.Pietschmann >=20 > It seems like all these solutions relate to the old isuues of=20 > Cocoon (I > may be wrong!), when it was not possible to see PDF documents=20 > even from > html page. > But in Cocoon 2.0.4 I'm using this is not a problem. All formats (pdf, > excel) are being shown perfect. In my html page there stands a link > "http://myserver/cocoon/table.pdf?par1=3D1&par2=3D2" too and all=20 > works fine. > But when I try to open it from an applet using the method > getAppletContext().showDocument(), I receive always the same error > message, and all these solutions (ending with .pdf etc) don't=20 > help. The > only hint to this problem I think is that it works with=20 > proxy. Why? What > does the proxy do that it works? > Any ideas are highly appreciated! >=20 > Regards, > Viktor Skladovs >=20 >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > For additional commands, e-mail: users-help@cocoon.apache.org >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > For additional commands, e-mail: users-help@cocoon.apache.org >=20 >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org