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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to