tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From CalvinD <cedei...@hacc.edu>
Subject Re: Displaying Photos stored in Oracle in HTML generated by servlet
Date Fri, 19 May 2006 00:52:55 GMT

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 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.
I am not sure if this is the best way to get it to work so if anyone has any
ideas, let me know.
Once I get the code cleaned up I will post the appropriate parts.
Calvin

--
View this message in context: http://www.nabble.com/Re%3A-Displaying-Photos-stored-in-Oracle-in-HTML-generated-by-servlet-t1637981.html#a4461548
Sent from the Tomcat - User forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message