Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Insert jpeg files in the database column

 
Boon Subra
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could you pl. suggest me how to insert an image in a column.From which I can fetch the image in the jsp page with the query.
thanks.
 
Abhilash Vasudevan
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can copy the image to a location and save the absolute path of the image as text in the database.
This can be accessed from the jsp page.
Regards
Abhilash
[ May 14, 2003: Message edited by: Abhilash Vasudevan ]
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bhuvana B,
Welcome to JavaRanch!
We ain't got many rules 'round these parts, but we do got one. Please change your display name to comply with The JavaRanch Naming Policy.
Thanks Pardner! Hope to see you 'round the Ranch!
 
narasimharao konjeti
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
c bhavana,
there is another way to store the image in object otherthan the storing path of the image in database. i.e You can choose image as BLOB data type. u can work like this also. do as per your convinient.
wish u all the best
cheers
 
Boon Subra
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,
Thank You,
Pl. can you suggest an example.
Thanks,
Bhuvana
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic