laxmisaha 0 Newbie Poster

Hello ppl,

I am working on a site these days, which is coded in JSP and based on J2EE technology.I have a requirement where i have to play a WAV/MP3 file on the JSP webpage. The file is saved in a database repository and is loaded in the output stream of an HttpServletResponse object when a request from clien is sent to download the file. I can download the file on the client side and play it using the browser's plugin as well. But the problem is that the browser either opens up a new page with the media player embedded in it and plays the file or it navigates to a new page before playing the file. I want to play the file on the same page where is link is displayed. It would be preferable if the player could be hidden while the file is playing in the background. If anyone of u has any idea regarding this, then kindly help.

Thanks in Advance,
Laxmi

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.