tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Evan Swanson <Evan.Swan...@gmd.fujitsu.com>
Subject RE: File Download - CSV question ****
Date Thu, 25 Oct 2001 19:53:08 GMT
Thanks for answering...

That is the thing, I am using the same client in both situations.

I am using IE5.0 in both situations. The only difference is going from
TC3.2 on windows to TC4.0 on HP Unix. I would think that the IE would be
making the 
decision on how to handle the file by the extension name but it is not.

Is MIME type something you can configure on Tomcat? 


-----Original Message-----
From: Dmitri Colebatch [mailto:dim@bigpond.net.au]
Sent: Wednesday, October 24, 2001 10:11 PM
To: Tomcat-User
Subject: Re: File Download - CSV question ****


Are you using the same client between the two servers?  IE seems to
consider itself more important than mimetypes, and if it sees a file
extension it recognises it treats it as it deems fit, regardless of the
mimetype.  So one possibility is that you have just installed excel or
something on the client, and IE is redirecting the download there.

another option is that the mimetype being sent in tomcat 4.0 is different
to 3.x, but I'm not sure about this, so will let someone else answer this
option.

if you outline exactly what client/server you were using before, and now,
it will make the question more specific.  for intsance, tc3.2 on windows
with a win98 client with IE4.0 and now using tc4.0 on linux with a win2k
client with IE5.0.

cheers
dim

On Wed, 24 Oct 2001, Evan Swanson wrote:

> 
> I wrote an application that for Tomcat 3.2 running on window. In the HTML
> the is a reference ( <A HREF="/filname.csv"> ) to the filename. 
> When I run this on windows I get a popup "save as" selection box. 
> When I run this on Tomcat4.0 on Unix it no longer gives me the selection
box
> but instead displays the data on the screen.
> 
> Is this a difference between TC32 adn TC40 or Unix / Windows.
> Is this configurable.
> 
> 
> Thanks in advance.
> 
> 

Mime
View raw message