cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conal Tuohy" <con...@paradise.net.nz>
Subject RE: IE6: Can't open dynamic PDF from applet
Date Thu, 07 Aug 2003 10:07:30 GMT
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". 

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. 

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
> 
> 
> Thanks to everybody for your answers!
> 
> This trick with ending .pdf doesn't work too!
> I don't use https.
> 
> 
> -----Urspr√ľngliche 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
> 
> 
> 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?)?
> 
> 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=1&par2=2&e=.pdf");
> 
> J.Pietschmann
> 
> It seems like all these solutions relate to the old isuues of 
> Cocoon (I
> may be wrong!), when it was not possible to see PDF documents 
> 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=1&par2=2" too and all 
> 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 
> help. The
> only hint to this problem I think is that it works with 
> proxy. Why? What
> does the proxy do that it works?
> Any ideas are highly appreciated!
> 
> Regards,
> Viktor Skladovs
> 
> 
> 
> ---------------------------------------------------------------------
> 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
> 
> 

Mime
View raw message