Demonstrates how you can download an audio file with Spring MVC StreamingResponseBody and embed it into web page.
See:
- AudioController.java
- modules/web/web/VAADIN/audio.html
- web-dispatcher-spring.xml
- web.xml
Open test web page with http://localhost:8080/app/VAADIN/audio.html URL.
Sample audio file taken from here: https://www2.cs.uic.edu/~i101/SoundFiles/