Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
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 27-May-12 18:49pm
Comments
Prasad_Kulkarni at 28-May-12 0:52am
   
Harish, you want to do that in .net or java ( you have tag'd both Microsoft & JDBC)??
Harish PR at 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
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

how to save pdf ,images ,doc files in sql server.
 
i think this articale will help you
  Permalink  

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 668
1 OriginalGriff 396
2 Tadit Dash 345
3 sanket saxena 329
4 Peter Leow 203
0 Sergey Alexandrovich Kryukov 12,109
1 OriginalGriff 7,326
2 Peter Leow 5,013
3 Abhinav S 4,013
4 Maciej Los 3,575


Advertise | Privacy | Mobile
Web04 | 2.8.140421.2 | Last Updated 28 May 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid