• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 254
  • Last Modified:

xml apache fop and adobe acrobat active x control will not open directly in IE

HI I have a fop file that I open as a pdf file.  It works fine in Netscape, but is not opening directly with IE 6.02
I get the message to save to my computer or open. If I 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.  It says it is a adobe acrobat control for Active x
0
sahrom
Asked:
sahrom
2 Solutions
 
rdcproCommented:
You need to set the content-type on your server so that the browser knows what it is.  Exactly how you do this depends on your platform, but in IIS/ASP:

Response.ContentType = "application/pdf"

Regards,
Mike Sharp
0
 
dualsoulCommented:
i guess you are using servlets in some kind ? :)

then you can do:

  response.setContentType("application/pdf");

 - you can do it explicitly in servlet, or write intercepting filter for instance.

0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now