working with url
i have a folder which contains images related to the data i have in my sql database. how could i retrive them onto web pages.
i have used a blob data type field in the databse
so should i store these images to it or should i store the url of the images to it.
could it be done through simple jsp or have i to use some servlets and beans to do so.
[392 byte] By [
abh1she] at [2007-9-26 1:22:48]

If you say you have a folder with images, then it is best to store the name of the file in the database, and have the path to the images folder as a startup parameter of the servlet/jsp.
when user will request some data from database, you will read the name of the image file related to it, and pass a string:
<img src=" + images_folder + "/" + imagefile_name_from_db>
that's it.