Hi
Do you set the mime-type ?

<map:serializer name="fo2pdf"
src="org.apache.cocoon.serialization.FOPSerializer" mime-type="application/pdf"/>

What version of Cocoon and fop do you use ?
Did you try it on http://localhost as well (without any proxy) ?
Check the IE cache, delete everything !
Cheers


> Hi
> 
> No, I'm not using https ...
> My cocoon instructions in sitemap look like this:
> 
> <map:match pattern="table.pdf">
>       <map:generate type="serverpages" src="xsp/table.xsp"/>
>               <map:transform src="stylesheets/xml2fo.xsl">
>                       <map:parameter name="view-source"
> value="xsp/table.xsp"/>
>               </map:transform>
>               <map:serialize type="fo2pdf"/>
> </map:match>
> 
> The most important - I can't understand why it works with proxy nad
> doesn't work without proxy.
> It seems like IE wants the pdf file to be cached anywhere?
> 
> -----Urspr�ngliche Nachricht-----
> Von: Beat De Martin [mailto:[EMAIL PROTECTED]
> Gesendet: Mittwoch, 6. August 2003 17:10
> An: [EMAIL PROTECTED]
> Betreff: Re: IE6: Can't open dynamic PDF from applet
> 
> 
> Hi
> It might not be exactly your problem but I had problems with dynamic
> generated pdf and proxies as well.
> 
> My dynamic generated pdf's have been cached by the proxy which I didn't
> for
> obviuos reasons. What I did was the following. In my sitemap I have a
> match
> like <map:match pattern="*.pdf* > ...
> And the my pdf-link I created dynamically like
> http://myserver/cocoon/table_XXX.pdf
> where XXX is a kind of unique ID (e.g. timestamp)
> 
> So my pdf's will never be cached !
> 
> Another problem I had was using https and dynamic pdf's, but you're
> using
> https aren't you ?
> 
> Are setting the content-length ?
> 
> Cheers
> Beat De Martin
> Zurich, Switzerland
> 
> 
> > Dear Friends!
> > 
> > I have read a lot about so called "internet explorer PDF Bug" but none
> > of the suggested solutions has helped. Apart from that, I'm trying to
> > open my pdf file NOT from a html site, but from a APPLET.
> > Please take a little time and read my problem.
> > 
> > I'd like to open a dynamically generated (Cocoon 2.0.4) PDF file from
> an
> > applet using a method:
> > 
> >
> applet.getAppletContext().showDocument("http://myserver/cocoon/table.pdf
> > ?par1=1&par2=2");
> > 
> > This works perfectly with all Netscape-like browsers (Mozilla etc).
> > It works with Internet Explorer 6 too, but only WHILE USING PROXY
> > SERVER.
> > But with Internet Explorer 6 WITHOUT PROXY it doesn't work.
> > 
> > Error message:
> > "Site cannot be opened. It is either not available or cannot be found.
> > Try it later again".
> > 
> > Anybody of the community must have faced this problem, I believe.
> > Are there workarounds for this problem? Why does it work with proxy
> > (cache?)?
> > 
> > Thank you very much in advance
> > 
> > Regards,
> > Viktor Skladovs
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> 
> -- 
> COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test
> --------------------------------------------------
> 1. GMX TopMail - Platz 1 und Testsieger!
> 2. GMX ProMail - Platz 2 und Preis-Qualit�tssieger!
> 3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8.
> e-Post
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-- 
Beat De Martin
Zurich, Switzerland

COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test
--------------------------------------------------
1. GMX TopMail - Platz 1 und Testsieger!
2. GMX ProMail - Platz 2 und Preis-Qualit�tssieger!
3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. e-Post


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to