This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Servlets and the fly likes image display problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "image display problem" Watch "image display problem" New topic

image display problem

muntago Richard
Ranch Hand

Joined: Nov 13, 2010
Posts: 82
Good day everyone ,
i used this code to display image from database i jsp

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
I agree. Here's the link:
subject: image display problem
jQuery in Action, 3rd edition