Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

jsp to database

Status
Not open for further replies.

yama

Programmer
Jun 28, 2001
69
SG
Hi, got a couple of qns to ask, hope that everyone can help =)

1) How to store picture in database using Microsoft Access?

2) How to pull out the picture in the database using jsp?

Thanks alot.

 
Unfortunately I don't think that you can store pictures in Access. You would need a database that allows the storeage of binary data such as SQL Server or Oracle. What you can do is store a link, in the form of a fully qualified filename. I am not sure what this is being used for but if you are displaying the image on a website then put all images in a publically accessable directory. If you are doing further manipulation of the image then store it in a directory not accessable to the public and create a
Code:
File
object to retrieve it. Hopes this helps.
Wushutwist
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top