Solved

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

Posted on 2004-08-20
2
247 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Many times as a report developer I've been asked to display normalized data such as three rows with values Jack, Joe, and Bob as a single comma-separated string such as 'Jack, Joe, Bob', and vice versa.  Here's how to do it. 
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

773 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