Two Laptop Bag
The moose likes HTML, CSS and JavaScript and the fly likes Continuously playing a music file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Continuously playing a music file" Watch "Continuously playing a music file" New topic

Continuously playing a music file

Kedar Dravid
Ranch Hand

Joined: May 28, 2004
Posts: 333
I have a JSP which is used for conducting a quiz (typical quiz with next, back buttons) where the questions are fetched from an XML document. The same JSP is loaded for every question. Now, I want to play a music file (WAV) every time the quiz starts. The music should not break every time the JSP is loaded. What is the solution?
Ben Souther

Joined: Dec 11, 2004
Posts: 13410


Have one hidden frame that plays the muzak and have the JSPs in the visible frame.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63866

Moved to HTML/Javascript.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Continuously playing a music file
It's not a secret anymore!