Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help needed for showing the Employee Pic with other properties

 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I am developing a internal site for my Company .First of all my basic requirement is that if a Employee id is provided in a Textield and clicked on the submit button .

I want to show all the details of that Employee including his photo .


please help me for this .
(The problem comes for me when i need to show the Pic of the Employee)


What should be the datatype i should keep for the Image in the Employee Value Object and how to set the data on to the setter methods for that method .


Please share your ideas .
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34973
379
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ravi,
A picture would be a BLOB object. You can use getBinaryStream() to retrieve it.
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you , that helped me .
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic