This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
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


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
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
Author

how to add wav file in jsp

Rishabh Rathi
Greenhorn

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
Marshal

Joined: Jan 10, 2002
Posts: 61448
    
  67

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


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Vinod Sekhar
Greenhorn

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: http://aspose.com/file-tools
 
subject: how to add wav file in jsp