Mon-Quen Huang wrote:
> 
> I have a file stored in the backend Oracle database
> and has JSP communicating with the database in JDBC.
> I would like to allow user to click on a hyperlink and
> then download the file which is stored in the
> database.
> Is this possible?  If so, what are the steps to
> implement it?
> 
> Thanks,
> 
> MH
> 

do a getBinaryStream(col Index) and return that to
response.getOutputStream via your choice of buffering
scheme.


make sure you set the mime type for the response depending
on the type of file you are returning (before you return stuff).

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to