I am struck on a simple problem
I have to display an image from a database. I have successfully uploaded the image in database.
now for displaying image on
JSP I have a
servlet which is doing this work
This servlet is stored in src folder under package action. Actually I am using struts2 and i dont know how to display it using struts2.
So my servlet is like this
getImage functionality is like this
}
[/code]
On JSP my code is
on searching on net i found this also
i tried using both but I am unable to display the image