Click here to Skip to main content
12,768,052 members (44,587 online)
Rate this:
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 19:49pm
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
Rate this: bad
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.
Rate this: bad
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

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

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.170217.1 | Last Updated 28 May 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100