On Thursday 18 May 2006 20:52, you wrote:
I did find that when I used:
img src=/webapp/path/to/servlet.jpg?recId= + member.getID() + /
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 /)
I am working on a project that queries staff information and photos from our
oracle database and I need to display this information in a web page.
I can query and display the textual data but now I need to add the image
along with the text.
If this is not the right form, please direct my to
- Original Message -
From: CalvinD [EMAIL PROTECTED]
To: users@tomcat.apache.org
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
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
Images are separate resources from the HTML their img/ tag is
spec'd in. I'd say write your table out with the img ... / 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.