File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Soft Skills this week in the Jobs Discussion 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: 61761
    
  67

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