Did you set the mime-type set in the web.xml?

  <mime-mapping>
    <extension>xls</extension>
    <mime-type>application/vnd.ms-excel</mime-type>
  </mime-mapping>

RS





jakarta-tom on 07/16/2002 09:10:03 AM

Please respond to "Tomcat Users List" <[EMAIL PROTECTED]>

To:    [EMAIL PROTECTED]
cc:

Subject:    download file

Subject: download file
From: "J. Jason Zhou" <[EMAIL PROTECTED]>
 ===
I have both Tomcat and IIS running on two machines. But when I download a
file (abc.xls) from Tomcat, the browser loads the binary content without
prompting uisng the save/open dialog while IIS did prompt before the
download.

http://machine/myapp/abc.xls

Can anybody tell me why?

--
Best Regards,

J. Jason Zhou
Business Intelligence Platform Division (BIP), R & D,
SAS Institute, 100 SAS Campus Dr.
Cary, North Carolina 27513-8617
Voice: 919-531-0568(O)
Email: [EMAIL PROTECTED]



--
To unsubscribe, e-mail:   <
mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <
mailto:[EMAIL PROTECTED]>










--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to