tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pid...@pidster.com>
Subject Re: href to .xls file shows raw file
Date Mon, 15 Oct 2007 17:21:32 GMT
David Delbecq wrote:
> alla winter a écrit :
>> I would appreciate if you would give me a hint, what should I do to make
>> browser to display excell spread sheet when href to .xls file is
>> selected?
>> It displays the raw file insted.
>>
>> <a href="/cobra_source/beneficiary_template.xls"
>> target="_blank">Excel template </a>
>>
>> P.S.  I am using Tomcat 5.0.28 and jdk 1.5.0._12
>>
>> thanks for your help
>>
>>   
> in the web.xml of your webapplication, you should properly define the
> contentype for .xls files.

(the <mime-types> section of your web.xml will need an additional entry)

p

> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message