cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davanum Srinivas <d...@yahoo.com>
Subject RE: Internet Explorer & PDF (via Cocoon, FOP)
Date Thu, 21 Sep 2000 15:53:02 GMT
Russ,
Thanks for ur Solution. But it does not work with IE5.5. After some research found that if
you
unregister the ActiveX version of the Acrobat Plugin, Everything works exactly like Netscape.....

The steps are:
1. Find PDF.OCX, it's usually in "C:\Program Files\Adobe\Acrobat 4.0\Reader\ActiveX" directory.
2. Unregister this ActiveX control using "regsvr32 pdf.ocx /u"

So the problem was not in mime-type detection, but in adobe's activex plugin implementation.

Thanks,
dims
--- Russ White <russwyte@earthlink.net> wrote:
> The problem (on explorer anyway) is the when ie sees a url that ends with
> .xml it assumes text/xml mime type.
> 
> The following servlet fixes the fop pdf problem on explorer 5.x and
> netscape.
> 
> to use it simple map it with a name like "/pdf"
> 
> the invoke it like this /pdf?doc=documentName (no .xml extension here!)
> 
> the servlet then looks for a url documentName.xml to grab and return to the
> client.
> 
> G'day!
> Russ
> 
> Servlet code follows:
> 
> 
> > -----Original Message-----
> > From: Davanum Srinivas [mailto:dims@yahoo.com]
> > Sent: Thursday, September 21, 2000 9:11 AM
> > To: cocoon-users@xml.apache.org
> > Subject: Internet Explorer & PDF (via Cocoon, FOP)
> >
> >
> > Hi all,
> >
> > Am unable to view PDF's under IE-5.5. The following "trick" works
> > under IE-5.01 but fails under
> > IE-5.5. Basically Internet Explorer starts to open the page but
> > never starts the Acroreader
> > plug-in. Though i can Right mouse click, save it as a PDF and
> > view it without problem.
> >
> > Any insights?
> >
> > Thanks,
> > dims
> >
> > ------------------------------------------------------
> > instead of
> >         http://host:port/cocoon/samples/fo/test-fo.xml
> > try this ( "?" after the link)
> >         http://host:port/cocoon/samples/fo/test-fo.xml?
> >
> > Jimmy Orendt
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Doug Serres [mailto:dserres@netscape.net]
> > Gesendet am: Dienstag, 21. März 2000 19:53
> > An: Cocoon Users
> > Betreff: Internet Explorer & PDF (via Cocoon, FOP)
> >
> >
> > When I try to run the
> > http://host:port/cocoon/samples/fo/test-fo.xml example
> > Internet Explorer starts to open the page but never starts the Acroreader
> > plug-in. Netscape opens the plug-in ad displays the page just fine.
> >
> >
> > Has anyone else seen this behaviour?
> >
> >
> > I.E. 5.01
> > Windows 95b
> > Acroreader 4.05


__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/

Mime
View raw message