Hi All,
I have made a picture search database using struts2 and MySQL. I am able to store pictures in MySQL as BLOB datatype using struts2. Now I want to retrieve(search) those pictures and show them back on
JSP. I can retrieve and store picture in byte[] variable in action but, don't understand how to pass it to JSP for display.
Could anyone please guide me what is the best approach for doing this. I don't want to save picture on disk and then display. If it's possible that I can directly retrieve and display, that would be great.
Appreciate your help and time.
Thanks