I have included some audio files in a jsp page. The audio files are in .rm extension. When I click on the hyperlink for the audio file in the browser, instead of playing the audio, it shows some junk data in the web page. How do I remedy this?

Christopher Schultz

The Content-Type being sent by your web server is probably incorrect for that file type.

Look at your server's documentation to find out where to map file extensions to content types. If you can't find an appropriate file type, just use something like application/octet-stream.

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



About | Sitemap | Contact