How to display image in jsp file from database?
JSP code below:-
<%
ResultSet rs=stmt.executeQuery("select img,name from books");
%>
<html>
<head>
<title>ONLINE BOOK STORE - LOGIN PAGE</title>
</head>
<body>
<table align=center>
<tr>
<td align=center><img src="logo.jpg"></img>
<tr>
Where do we store the image to be extracted from database?
Can anyone please help?