Blob type of image is reaching JSP page but it is in an unreadable format.
Service Method:
Iterator itr = list.iterator();
if (itr.hasNext()) {
Membersdetails get = (Membersdetails) itr.next();
repCurrentImage = get.getRepPicture();
}
return repCurrentImage;
& my Action Class:
repCurrentImage = sdf.getrepImage(loginId);
Finally My JSP page:
<img src="<s:property value="repCurrentImage"/>
file-nameorfile-idin database and pick the file from file-system only.