Retrieve Image in JSF From MySQL Table Using NetBeans IDE
This application illustrates how to retrieve image and data from MySQL
table using NetBeans IDE.
In this application we create a jsp page to display image. In this JSP page
we are using <h:graphicImage> tag to access the servlet, here we are uses
servlet but as u wish u can access a jsp page also. To create the project in the
NetBeans IDE select File > click on "Create Project" then a New
Project window will be appear, select Web from Categories section and select Web
Application from Projects section. Click Next.
Put Project Name and click Next.
Choose JavaServer Faces and click Finish.
To create the jsp file right click on Web Pages select New and click JSP as
January 11, 2012
the servlet is showing the image
bt in the JSF images arent getting displayed :(
help me... i used the same code..
July 15, 2013
datatable showing many images
it's working but,
it gets only one image from database like this :
("select image from pictures where id = '2'");
I have many images to show datatable
What can I do?
April 3, 2013
i used this same code but it only index.xhtml alone after that other page are display not running.................. how to run this program
please help me