file to open in browser instead of saving

hi
i want to option to set file opening in the browser itself rather saving in google chrome/mozilla firefox.

eg : when i am running the oracle report  with the url like this

http://192.x.xxx.x/reports/rwservlet/getjobid=281163
it  opens in ie with the browser itself whereas in chrome/mozilla it downloads which we dont want.

plz do the needful
venu3108Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David Johnson, CD, MVPOwnerCommented:
is it returning a pdf?
0
marsiliesCommented:
It's going to depend a lot on the file type you're trying to view. Firefox and Chrome may need a plugin if it's a file type they don't support natively.

Here's how to set how Firefox opens different file types:
https://support.mozilla.org/en-US/kb/applications-panel-set-how-firefox-handles-files
0
venu3108Author Commented:
hi david

its not pdf,, its a text file
0
David Johnson, CD, MVPOwnerCommented:
try this worked for me
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <title>EE Question #2</title>
</head>
<body>
    <object data="/readme.txt" type="text/plain" width=800 style="height: 550px">
    <a href="/readme.txt">Read Me</a>
    </object>   
</body>
</html>

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Browsers

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.