Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes HTML, CSS and JavaScript and the fly likes application/pdf and netscape incompatability problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "application/pdf and netscape incompatability problem" Watch "application/pdf and netscape incompatability problem" New topic
Author

application/pdf and netscape incompatability problem

Mukesh Sehgal
Greenhorn

Joined: Oct 10, 2003
Posts: 11
heh guys,
I am having a problem with netscape and here what it looks like:

Inside a JSP page, I have a javascript function which invokes a pdf file. Now if I am using IE it works fine but when I do the same thing using netscape it says: this file is of type "application/pdf", and netscape does not know how to handle this type of file. It invokes a blank page behind this message screen. I am trying to get rid of this blank page. I have seen the javascript code and it invokes this blank page as it has window.open(file,'....)
let me know if somebody can help me with this.
Thanks a lot.
Mukesh Sehgal
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60782
    
  65

Moved to HTML/Javascript.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
The pdf will not open up directly in Netscape like it does in IE. Plus what version of Netscape are we talking here?

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: application/pdf and netscape incompatability problem
 
Similar Threads
Content-Disposition in IE
iText and streaming
Downloading PDF files
Reading Doc or Excel file using response in NetScape
how to submit PDF object to servlet