• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

xml apache fop acitvex adobe problem

 
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I dynamically created a PDF using apache fop. It works fine in Netscape, but it does not opening directly with IE 6.02
I get the message to save to my computer or open. If I select to open - it does not know what to open it with, but I can save to my pc, but would like to have it open up directly as with netscape. That is, with IE I get the "File Download window ". The file type is "Adobe Acrobat Control for ActiveX ".


any suggestions why this is -thanks
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is happening most likely because of your server's settings. If you'll configure your web server to send the Content-Type header to application/pdf, both browsers should know that you're sending it a PDF.
 
mary morris
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Lasse,
Thank you for your reply, I will check it in some other IE browsers. Someone said it worked in there IE browser, but I have tried it in two different ones. I was also thinking it was a security level that was set in IE broser optios.
 
Lasse Koskela
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by mary morris:
I was also thinking it was a security level that was set in IE broser optios.

Yes, that could also be a probable cause.
 
author and deputy
Posts: 3150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Were you able to open pdf documents that you see in simple websites, like documentations etc., ?
 
mary morris
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
yes I was, so Lasse's reply would be the post likely reason. I have not yet tried implementing the content-type header, but I guess that is the problem.

Thanks
 
Balaji Loganathan
author and deputy
Posts: 3150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by mary morris:
yes I was, so Lasse's reply would be the post likely reason. I have not yet tried implementing the content-type header, but I guess that is the problem.
Thanks


Then this link should help you further... http://xml.apache.org/fop/servlets.html
 
mary morris
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
okay thank you much
mary
 
mary morris
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
actually, while I am at it, I assume you have been producing fop documents, do you use a editor? I any kind to help with the formatting?
 
Balaji Loganathan
author and deputy
Posts: 3150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by mary morris:
actually, while I am at it, I assume you have been producing fop documents, do you use a editor? I any kind to help with the formatting?


I use Textpad(a kind of notepad).. :roll:
 
mary morris
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
ah, okay, thanks
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

I had the same problem in my project this morning.
It's linked to the cache usage of IE, different in Netscape/Mozilla.

I think you applied http headers to remove usage of cache in your file geenrated, like this :

response.setHeader("Pragma", "No-cache, post-check=0, pre-check=0");
response.setHeader("Cache-Control", "no-cache");
response.setDateHeader("Expires", 1);

You can't do this. IE doesn't manage it correctly.
 
And then the flying monkeys attacked. My only defense was this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic