Solved

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

Posted on 2004-08-20
2
245 Views
Last Modified: 2006-11-17
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
Comment
Question by:sahrom
2 Comments
 
LVL 26

Assisted Solution

by:rdcpro
rdcpro earned 250 total points
ID: 11853395
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
 
LVL 15

Accepted Solution

by:
dualsoul earned 250 total points
ID: 11864176
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

The Problem How to write an Xquery that works like a SQL outer join, providing placeholders for absent data on the outer side?  I give a bit more background at the end. The situation expressed as relational data Let’s work through this.  I’ve …
The Confluence of Individual Knowledge and the Collective Intelligence At this writing (summer 2013) the term API (http://dictionary.reference.com/browse/API?s=t) has made its way into the popular lexicon of the English language.  A few years ago, …
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now