Peter,
What browser are you using on the MacOS machine? I clicked on the 1.mpg
link from http://24.132.85.220:9006/VoiceBase/audio using Netscape and it
opened the file as text. This indicates to me that your server is not
configured to serve files that end in .mp3 properly. Have you rebooted your
machine since editing your <server_install/conf/web.xml file? I don't think
you should have had to edit the file since by default the
   <mime-mapping>
     <extension>mp3</extension>
     <mime-type>audio/x-mpeg</mime-type>
   </mime-mapping>

entry is already present in the web.xml file that comes in the Tomcat
installation.

I saved the 1.mp3 file to my machine and put it under a document root of my
Tomcat installation and then accessed the file using Netscape. The
Quicktime player was started. This is because the QuickTime plug-in is
assigned to handle audio/mpeg and audio/x-mpex mime types. If you are using
Netscape, you can check this by going to Help->About-Plugins and viewing
the plug-ins that are installed.
The reason that it works in Explorer is that the browser will ignore the
mime type in favor of the file name extension. You can see this for
yourself if you rename the 1.mp3 to 1.txt and try and view it with your
browser.

I can play the files fine on my machine with Netscape and Explorer when I
serve the file using my server.

What language is that, Swedish?

-Richard

At 06:05 AM 10/1/2002 +0200, you wrote:
>Hi,
>
>I asked this before but still could not fix the problem.....
>I'm running the tomcat install which is included in Macintosh Os X 10.2.1
>'Jaguar' (Tomcat 3.2.4).
>
>- There are no errors in the logs
>
>The problem is that macintosh browsers open .mp3 files as text. Windows
>plays te files, but on my win2k tomcat server quicktime is called. I use the
>same mime-mapping on both installs:
>
><mime-mapping>
>    <extension>mp3</extension>
>    <mime-type>audio/x-mpeg</mime-type>
></mime-mapping>
>
>Check for results:
>http://24.132.85.220:9006/VoiceBase/audio
>
>greetings,
>
>Peter Maas
>----------------------------------------------------------------------------
>--------------------------
>
>___________________________________________________________________________
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff SERVLET-INTEREST".
>
>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>Resources: http://java.sun.com/products/servlet/external-resources.html
>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to