Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Store and Retrive audio files from sql server using JSP

 
Kathiresan Chinnasamy
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends,

How do we store and retrive audio files in SQL server through JSP coding?

If anyone knows please send me the steps and sample codings including database queries..

Thanks in advance
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For starters, JSP is a poor choice of technology for serving up binary data.
It was designed for serving up text (HTML and Javascript).
A far better and easier alternative is to use a servlet.

In our codebarn, under the servlets section, there is a sample app called SimpleStream. It shows how to stream binary data (in this case, images) to the browser from a servlet.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic