Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Playing raw audio files in JSP page

843836Jan 26 2004 — edited Jan 27 2004
Hi!

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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 24 2004
Added on Jan 26 2004
2 comments
134 views