I can get an image as a byte[] and store it in my database using form.jsp and FormFile.
Now I need to be able to retrieve that byte[] and display it back in the JSP as an image. Is there a way to create a resource and retrieve that image?
I can get an image as a byte[] and store it in my database
Share
Write the
tempByteintostream, flush and close it.return nullfrom the action.now call the action from inside an
<img src="yourAction.do">