On Thursday 18 May 2006 20:52, you wrote:
> I did find that when I used:
>
> ""
>
> The id that was returned had a / after the id which really caused issues.
> (ended up looking like 345556/)
> I changed the "/>" to " />" (a space prior to the /) and the code works
> fine.
You probably want to h
Update. I go the images to show using two servlets. One to return the text
items and one to return the image based on the ID in the text. I used
David's example as a starter.
I did find that when I used:
"img src="/webapp/path/to/servlet.jpg?recId=" + member.getID() + "/>"
The id that was ret
David,
You brought up a good point that I didn't even think of.
Since the text is written out to response using a PrintWriter I would
have to use some type of stream output for the images.
I created another servlet just to try and display the images.
I got as far as retrieving them from the databa
Images are separate resources from the HTML their tag is
spec'd in. I'd say write your table out with the tag
specifying a URL to an image serving servlet. Then put together a
simple servlet that will handle those requests and stream the
appropriate data to the client.
An example:
The s
Rhino,
That for getting back to me.
I am coding with Java 1.5(or whatever they call the latest version). I
have all the framework done and can create the table without the
images.
I would prefer not to have to write the image to the file system since
there could be many photos being displayed depe
- Original Message -
From: "CalvinD" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, May 17, 2006 12:26 PM
Subject: Displaying Photos stored in Oracle in HTML generated by servlet
I am working on a project that queries staff information and photos from
our
oracle database and I need to