hello
do u know how to retrive image from database and show the image in jsp page
retrive image using servlet or a java program
[PHP]
<%
try {
byte[]data =retrieve the image binary data from the database
response.setContentType("image/gif"); //This line is very important
ServletOutputStream so = response.getOutputStream();
sout.write(data);
so.flush();
so.close();
} catch (Exception e) {
e.printStackTrace();
}
%>
[/PHP]
Let me know if you get an IllegalStateException with this.