yes, define a <mime-mapping> is this not a common mime type (one you've made up yourself)? If so, many browsers will display anything they perceive as "text" data right in the browser itself by default.
you're running into a somewhat complex interaction of client browser software and server software. Try the mime-mapping and see what happens. fillup On 5/31/02 2:34 PM, "Alex Roussev" <[EMAIL PROTECTED]> wrote: > > Hello, > > How do I force Tomcat to serve a file as a download, instead of displaying it > in the browser? > For example, if I have an href pointing to a filename with extention exe and > I click on the href > within a browser it will prompt me to save this file. > > So basically, I want to do this with another file extention ( fls ). However, > when I click on the href Tomcat displays the contents of this file in the > browser. Is there something I need to set up the web.xml file? > > Do I need to define another <mime-mapping> ? > > > Thank you, > Alex > > > > --------------------------------- > Do You Yahoo!? > Yahoo! - Official partner of 2002 FIFA World Cup -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
