Welcome to the JavaRanch. Web pages load images by making an additional request to the server for each IMG tag. You can create an action that accepts whatever information you need to identify the image in the database and return the binary image. On your user detail
JSP page, you would build the IMG tag with those arguments. When the page is rendered by the browser, it will call your image action and display whatever it returns. Of course, it would be a good idea to gracefully handle images that can't be retrieved
with a reasonable default and secure your images against unauthorized users.