You can't. And you wouldn't want to. The JSP runs on the server, and you don't need music to play on the server. What I suspect you want is to embed those applications in the HTML which is generated by the JSP. That's purely a question about HTML. So let me move the question over to the forum which is about HTML.