i used this code to display image from database i jsp
<img src="image1.jsp?imgid=<%=rs.getInt(1)%>">
how do i use it in servlet as i have move my image1.jsp to servlet.
i tried using this but it errored
img src=image1?imgid=rs.getObject(1).toString();
The servlet image is working. the problem is from the link
thanks


Sign In
Create Account


Back to top









