It's not a secret anymore!*
The moose likes Java in General and the fly likes How do i download image files ? - MIME HEADERS  HOW TO USE ?? 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 » Java » Java in General
Bookmark "How do i download image files ? - MIME HEADERS  HOW TO USE ??" Watch "How do i download image files ? - MIME HEADERS  HOW TO USE ??" New topic
Author

How do i download image files ? - MIME HEADERS HOW TO USE ??

Tejas Tambe
Ranch Hand

Joined: Oct 08, 2001
Posts: 47
I am trying to download a file using HTTP. Text files and HTML files are getting downloaded perfectly, but not any other files.
I refered Complete Reference Java 2, I found that MIME Header has something to do with this, but was not clear.
I tried downloading the file in byte array and then write it but this does not work at all.
So can any 1 help me in this regard.
Thanx in advance,
Tejas
 
Don't get me started about those stupid light bulbs.
 
subject: How do i download image files ? - MIME HEADERS HOW TO USE ??
 
Similar Threads
Multiple file download
Mistakenly changed web.xml
URGENT !!! How Do I download Image files using HTTP.
Initiate a download from a servlet
JBOSS CMS opening txt Files