Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

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

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Browsing the questions asked to the Experts of this forum, you will be amazed to see how many times people are headaching about monster regular expressions (regex) to select that specific part of some HTML or XML file they want to extract. The examp…
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.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

790 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