Hi!

I am having the same problem and had posted my question earlier.

I have installed 2 media files 1 is .wmv and the other is .rmvb, both of the 
files open as text in the browser for some starnge reason.

Ppl told me to set the correct mime in web.xml, but I am just a basic user, I 
did not understand what to do.

Can u please tell me how u set the correct mimie in web.xml?

Thank u


----- Original Message ----
From: Zachary Wiener <[EMAIL PROTECTED]>
To: users@tomcat.apache.org
Sent: Friday, November 3, 2006 8:23:30 AM
Subject: Request for WMV file to machine name doesn't work


Hello.  I have Tomcat 5.0.28 installed on my Windows XP machine.  Under 
webapps I have a website installed, and under the website I have a *.wmv 
file installed.  If I access this file through Internet Explorer as 
http://<machine_name>:8080/mysite/test.wmv, the file does not open in 
media player, but displays as text.  I have made sure that the web.xml has 
the mime type defined.  If I access the file as 
http://localhost:8080/mysite/test.wmv, the file will be played in media 
file.  If I access the file from a different machine and access as 
http://<machine_name>:8080/mysite/test.wmv, the file will be played in 
media player.  My question is, if I am logged into my machine and I access 
the file using the machine name, why is it displayed as text, but 
localhost works?  Thank you.

Reply via email to