wood burning stoves 2.0*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Continuously playing a music file" Watch "Continuously playing a music file" New topic
Author

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
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Frames.

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
Marshal

Joined: Jan 10, 2002
Posts: 60740
    
  65

Moved to HTML/Javascript.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Continuously playing a music file
 
Similar Threads
JSP recompilation
how to keep timelimit in jsp for a quiz application
Automatically generate a JSP file in another active JSP page
Another little SCWCD competition
Class loading