So I'm serving up an mp3 file using HttpServletResponse
writing to a servlet output stream.
When I go to that location in the browser, the mp3 correctly loads up and starts playing, but unfortunately, isn't able to seek anywhere(I can't scroll through the song at all)
How do I fix this, or make it so the browser downloads the full song before it starts playing.
Thanks in advance.
You need to wrap it in an audio controls tag, assuming HTML5. See http://www.w3schools.com/html/html5_audio.asp for an example. Just replace the hardcoded mp3 with a call to your servlet.