Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Specifying content type for file downloads

Doug Chamberlin

2003-09-16

Replies:

I'm using Tomcat 4.06 standalone and cannot find how to configure the
server to properly identify downloaded files as Excel spreadsheets. I'm
using links which look like:

<a href="https://webserver.com\Info\Docs\4211/SomeSpreadsheet.xls">
 <b>SomeSpreadsheet.xls</b><br>
</a>

When the user clicks on the link the file is being displayed in the user's
browser as garbage rather than having the browser display it via Excel.

I cannot find how to configure the server to properly identify these files
as Excel spreadsheets.

Doug Chamberlin




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.