This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSP and the fly likes Store and Retrive audio files from sql server using JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Store and Retrive audio files from sql server using JSP" Watch "Store and Retrive audio files from sql server using JSP" New topic
Author

Store and Retrive audio files from sql server using JSP

Kathiresan Chinnasamy
Ranch Hand

Joined: Jan 01, 2008
Posts: 65
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

Joined: Dec 11, 2004
Posts: 13410

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.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
jQuery in Action, 2nd edition
 
subject: Store and Retrive audio files from sql server using JSP
 
Similar Threads
display a image
Flat file
storing and retriveing image through Ms-sql
Too Many Connections Exception
connecting midlet to a text file and retrieving data