This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
can you please tell how you have saved image in the DB?(Just to know)
My suggestion, upload the image in to your server with unique file name and save the file name in your DB... when you want to retrieve the image get the file name from DB and read the file from the stored location...
Joined: Jun 08, 2010
I created one jsp page where user can select the photo stored.
<td><html:file property="photo1" /></td>
User ll select the image.
I m taking this selected image & sending to UserInfo form ....
Where i am using seters and getters..
Any thing else you would need to know Prakash?
Prakash Mani - Attur
Joined: Oct 08, 2009
Follow the tutorial in the link below..hope it will help you..
I tend to steer people away from roseindia because of the poor quality of the examples. But the bottom line is that you'll need to stream the image blob to the client using a servlet or action. The linked roseindia example assumes it exists in a file, but the underlying technique is the same.