Ging Chan wrote:

> Dear All,
>
> I have a simple servlet that direct browser to view a 20page tiff file.
> Netscape browser has no problem to contact my servlet and view the tiff
> file.
> IE5 browser can contact my servlet but will lock upon viewing the file.
> However, IE5 can directly view the file no problem.  Here is the code in my
> servlet:
> ...
>      response.setContentType("image/tiff");
>      response.sendRedirect(response.encodeUrl(strUrl));
>    } catch (Exception e) {
> ...
>

If you are going to redirect it, why do you need the ContentType?  The
webserver should take care of that, as the redirect will cause the browser to
issue another request for strUrl.  I don't know if will help, but it is worth a

try.

-Patrick


> Please help me to correct my problem.  Thanks in advance.
>
> Ging
>
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
> Share information about yourself, create your own public profile at
> http://profiles.msn.com.
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to