File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes how to add wav file in jsp 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 "how to add wav file in jsp" Watch "how to add wav file in jsp" New topic

how to add wav file in jsp

Rishabh Rathi

Joined: Mar 07, 2011
Posts: 13
hello everybody...

I have a wav file named "some images.wav".
I want to play that file in my jsp code at startup and want it to repeat forever.
Please help me with the code.
thank you
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63858

Nothing at all to do with JSP. This has been moved to the HTML forum.

[Asking smart questions] [About Bear] [Books by Bear]
Vinod Sekhar

Joined: Feb 03, 2004
Posts: 5
Use the following html script in your JSP

This object loads the Windows Media Player to play your song. You can put this object's css style as visibility : fasle, so that it will not even displayed on page but works on background. If you want to display this object, you can use width, height params also.
I agree. Here's the link:
subject: how to add wav file in jsp
It's not a secret anymore!