Hey Alex,
(a bit off-topic to the list...)
I use often the url like "./Myservlet?extension=.pdf" in HTTP POST targets
just like GET ones. Works fine.
The "wierd" behavior with IE is often caused by repeated upgrades that have
managed to "miss" a component or two. Although you can't really uninstall
IE, you can download the full 30 meg binary and install custom and check
everything (even making the grayed-out checks black ones). It usually solves
the weird problems.
These two things cause all my FOP servlets and servlets that return
tab-dilineated text files to work fine, even with IE.
-Steve
-----Original Message-----
From: Alex McLintock [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 17, 2001 4:08 AM
To: [EMAIL PROTECTED]
Subject: RE: FOP does not rendering PDF in IE5.5 SP1
--- COFFMAN Steven <[EMAIL PROTECTED]> wrote: > If you're servlet URL
is
http://www.myweb.com/servlet/Myservlet
> <http://www.myweb.com/servlet/Myservlet>
> then use http://www.myweb.com/servlet/Myservlet?extension=.pdf
> <http://www.myweb.com/servlet/Myservlet?extension=.pdf>
> so you know if IE's ignoring the Mimetype. If that's not it, then it's
> probably because you're using an older version of FOP. I believe (someone
> correct me) that IE should be ok with the latest release.
> -Steve
There are a variety of problems with Microsoft's IE. This solution cures the
problem for many people but I've also found situations where this extension
isn't enough.
(In particular you may be posting to the servlet in which case adding
"?something=.pdf" is
innappropriate. In such circumstances you might need to
1) Name your servlet "pdf" so that the URL looks like
http://www.myweb.com/servlet/MyservletPackage.pdf
2) Get your servlet to generate the pdf, save it to disk, send the browser a
frameset which
gets the browser to load the previously created PDF in one of the
frames.
PS make sure you have at least two frames else you'll confuse netscape
:-)
Hope this helps - I've been banging my head against this one for most of
last week
because *all* the machines I had access to worked fine, and almost all the
machines
used by my American users didn't work. We eventually tracked it down to a
particular
build of IE 5.5 sp1, and even getting the build number didn't guarantee
which version
was installed :-(
Alex
(Remember Folks, Any additions to the FAQ - post them here with a big sign
saying
ANSWER SHOULD GO IN THE FAQ)
=====
Alex McLintock [EMAIL PROTECTED] Open Source Consultancy in London
OpenWeb Analysts Ltd, http://www.OWAL.co.uk/
SF and Computing Book News and Reviews: http://news.diversebooks.com/
Get Your XML T-Shirt <t-shirt/> at http://www.inversity.co.uk/
____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]