Playing raw audio files in JSP page
843836Jan 26 2004 — edited Jan 27 2004Hi!
I am trying to make a terminal play raw audio files with the JSP code.
So far I have tried :
<@ page contentType="audio/basic" %>
<@ include file="filename.raw" %>
<% response.addHeader("Refresh", "4; url=http//:.............."); %> // I want to send it to another page after a while.
<% return; %> //Not sure if I need this, I tried to convert the code from an ASP page and it had a return thing.
The ASP code looks like this:
<%@ Language="JavaScript" %>
<% Response.ContentType = "audio/basic"; %>
<!-- #include file="filename.raw" -->
<% Response.End(); %>
I am grateful for any help in this matter.
Kind Regards,
Michael