Click here to Skip to main content
15,867,686 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am trying to do a mini Project.
in my project i had to store the PDF,document,images in database and that i had display on a jsp page, and those file must able to download.


can anyone say me how to store those files in Microsoft sql server. and how to connect the MIcrosoft SQL server 2008 to a servlet through JDBC.
Posted
Comments
Prasad_Kulkarni 28-May-12 0:52am    
Harish, you want to do that in .net or java ( you have tag'd both Microsoft & JDBC)??
Harish PR 28-May-12 0:58am    
i want the DATA BASE in microsoft SQL server 2008
and want to connect that data base to a jsp page through Java servlet by using JDBC

You can do this by using a binary field.

Here[^] is a link that could help you.
This link[^] provides another tutorial as well.

A similar question[^] was asked some time ago.
 
Share this answer
 
how to save pdf ,images ,doc files in sql server.

i think this articale will help you
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900