Java Mailing List Archive

http://www.junlu.com/

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

Re: video/x-ms-wmv mime-type added for wmv files,
but doesn't seem to work

Jean-Francois Arcand

2004-05-26

Replies:



Patrick Willart wrote:

>Hello,
>
>I've added the following to my conf/web.xml but it looks like Tomcat
>(5.0.18) isn't picking this up. It's serving the file as a plain text file.
>I've tried adding the mime-mapping to my applications web.xml but also
>without result.
>
>   <mime-mapping>
>     <extension>wmv</extension>
>     <mime-type>video/x-ms-wmv</mime-type>
>   </mime-mapping>
>
>I have added mime-mappings before and those seem to work. Does anybody have
>an idea what's wrong?
>
>
Any exceptions visible? Open server.xml, search for xmlValidation and
xmlNamespaceAware. But both value set to true. Restart Tomcat. Is the
web.xml well parsed?

-- Jeanfrancois


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


---------------------------------------------------------------------
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.