mysql « Page « JSF Q&A





1. How to Retrieve Images from mysql on JSF page in netbeans IDE.    forums.netbeans.org

The easiest way is to set up a servlet that you send a key number to in a URL. The servlet uses the key to retrieve the image blob from MySQL and returns it in the response from the servlet. In your JSF xhtml page you use the tag to display the image. If your servlet is called ImageServlet ...