File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Make it so: Java DB Connections & Transactions this week in the JDBC 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
It's not a secret anymore!