tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thorsten frank <>
Subject Re: File download with Tomcat 4.0.2
Date Mon, 03 Jun 2002 01:00:43 GMT

At 02:34 PM 31/05/2002 -0700, you wrote:

>  How do I force Tomcat to serve a file as a download, instead of 
> displaying it in the browser?

you don't, because it's up to the browser to decide. you can zip up all the 
files you want to offer for download, but any content-type the browser 
knows, it'll display.

thorsten frank
[software developer]
LPIP Australasia
ACN:096 239 039

Level 1/368 Crown Street
Darlinghurst 2010
Sydney, Australia

P: [02] 9332 1933
F: [02] 9332 1822


The above information is confidential to the addressee and may be
privileged. Unauthorized access and use is prohibited. Internet
communications are not secure and therefore this company does not accept
legal responsibility for the contents of this message. If you are not the
intended recipient, any disclosure, copying, distribution or any action
taken or omitted in reliance on it, is prohibited and may be unlawful

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message