tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jerome Louvel <jerome_lou...@yahoo.fr>
Subject Re: Mime type not set for welcome files
Date Wed, 01 Dec 2004 13:52:23 GMT

I forgot to mention that the issue described below is occuring with 
Tomcat 5.5.3
Any help would be appreciated!

Jerome


Jerome Louvel wrote:

> I have a web app with the following configuration:
>
>    <mime-mapping>
>        <extension>xhtml</extension>
>        <mime-type>application/xhtml+xml</mime-type>
>    </mime-mapping>
>
>    <welcome-file-list>
>        <welcome-file>index.xhtml</welcome-file>
>    </welcome-file-list>
>
> When I request http://myserver/index.xhtml I receive the XHTML web 
> page normally. However, if I request http://myserver/ I receive the 
> file without the correct mime-type set, which opens an Open with/Save 
> as... dialog in the browser.
>
> It seems that the "welcome-file-list" is ignoring the "mime-mapping" 
> set in the configuration. Is this as designed, a configuration issue 
> or a bug?
>
> Thanks,
> Jerome
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message