This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Store and Retrive audio files from sql server using JSP  RSS feed

 
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
Boost this thread!