JSP For Uploading The Image
JSP For Uploading The Image
.jsp
<%
response.setContentType("text/html");
response.setHeader("Cache-control","no-cache");
name = null;
contentType2 = null;
fileName = null;
The function selectImage can be used to get the Image and then disply.
While displaying the Image please set the content type “image/pjpeg”