The Artima Developer Community
Sponsored Link

Java Answers Forum
display image

1 reply on 1 page. Most recent reply: Jul 26, 2003 3:28 PM by ricky

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Suraya Yaacob

Posts: 2
Nickname: aya
Registered: Jul, 2003

display image Posted: Jul 20, 2003 3:20 AM
Reply to this message Reply
Advertisement
Hi,

Let say i want to display A's picture when display A's biodata which is I retrieve from database. Else if I retrieve B's bioadata... I want to have picture of B. I knew how to retrieve text from database but i dont know how to have the picture...

could someone help me with some coding sample?

thanks in advance..

regards,
Aya


ricky

Posts: 8
Nickname: ricky30000
Registered: Jul, 2003

Re: display image Posted: Jul 26, 2003 3:28 PM
Reply to this message Reply
You could put the location of the image in the database for example file:c\myimages\foo.jpg

Then you can retrieve this information from the database and put it into the imageURL function and then just display the image.

Flat View: This topic has 1 reply on 1 page
Topic: Casting Previous Topic   Next Topic Topic: inheritence

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use