This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I have database with following column:
description String now i want to show these data with displaytag.how can i use column decorator to retrive images from database and show with displaytag.
please help me.
I could imagine that the big, bold font is turning some people off who might otherwise be willing to help.
DisplayTag is a JSP tag library - its output is HTML. As such, it can't handle images. You'll need to store the BLOBs as files in a publicly accessible directory, and then DisplayTag can create links to them. Or you can keep the BLOBs somewhere in memory (maybe in the application context), and then write a servlet that streams them dynamically.