This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Problem Opening File with .TIF Extension Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Problem Opening File with .TIF Extension" Watch "Problem Opening File with .TIF Extension" New topic
Author

Problem Opening File with .TIF Extension

chetan raj
Ranch Hand

Joined: Jul 18, 2006
Posts: 34
Hi have an application which open files with extention .tif without
any problem But if change the extension of the file to .TIF . I am not
able to open that file in my Internet Explorer.
I have installed alternet Tiff on the system. But i still
not able to open file with extention .TIF.
Can any body suggest what changes i have to do in my application or server
so that it if open files with extention .tif or TIF

Thanks in Advance
[ March 10, 2008: Message edited by: chetan raj ]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60752
    
  65

Wouldn't it just be easier to rename the files?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
chetan raj
Ranch Hand

Joined: Jul 18, 2006
Posts: 34
Can anybody tell if this possible by making
some chagnes in browser setting ,in server etc or
any other file.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60752
    
  65

TIFF files aren't a very web-friendly format to begin with. I'd recommend JPEG, GIF or PNG formats.
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

I didn't think browsers could view tif files at all (at least, not without a plugin). What browser and version are you using?
Did you need to install a plugin to get it to render tif files?


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
 
subject: Problem Opening File with .TIF Extension
 
Similar Threads
Saving and Opening Files ?
Problem with conversion of tiff images (.odm) to pdf files...
write byte[] to file?
Opening a file
File validation after File Upload