tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Danno Ferrin <shem...@earthlink.net>
Subject Re: why pop up the download dialog??
Date Wed, 20 Sep 2000 17:55:02 GMT
try setting content length as well, IE can be anal like that at times.

--Danno

Weffen Chueng wrote:
> 
> Hello ,
> 
> I have developed a jsp page, it read a image from disk, and then send it to browser.
> in fact i want to show the image directly in browser, so i set the content type as
> "image/jpeg". In netsacpe it is okay, but in IE, it always popup the dialog.
> here is some solutions for the problem, but i failed:
> 
> 1. <%@ page contentType="image/jpeg" %>  but still popup the dialog in ie;
> 2. response.setContentType("image/jpeg"); but still popup the dialog in ie;
> 3. response.setHeader("Content-type","image/jpeg"); but still popup the dialog;
> 
> How to sovle the boring problem??? i guess there is no any problem in my coding...
> Is it tomcat's bug?
> 
> --
> Best regards,
>  Weffen                          mailto:weffen@expertmedia.com.hk

Mime
View raw message