Bookmark Topic Watch Topic
  • New Topic

Play a MP3 file.  RSS feed

 
Praveen K P
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi everybody,
I am developing an application where in I want to play a mp3 file. Currently I am providing a link to the .mp3 file, and also added an entry
<mime-mapping>
<extension>mp3</extension>
<mime-type>audio/mpeg3</mime-type>
</mime-mapping>
in the web.xml. But when I click on the .mp3 file's link, the "download" window pops up. What I require is, the mp3 file automatically opens up in the media player.
Could anyone guide me through this problem.

thanks & regards
Praveen KP
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66207
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Paveen KP, you have been asked on two previous occasions to change your display name to adhere to JavaRanch standards. Read the JavaRanch Naming Policy and adjust your display name to match it.

Accounts with invalid display names are removed.

I have locked this post. Please send me a PM or email once you have changed your display name and I will unlock it.

bear
Forum bartender
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!