Gary Feidt wrote: > Your example is using Struts 1.2.6. Maybe I can upgrade, but I don't > think so right now. I guess I was thinking of it in the wrong way as > you stated, but I sure did not think it would be difficult to display an > image stored in a database on a web page. > It's not. It doesn't get much easier than us pointing you at the source code.
There have been several threads regarding this topic, some recently. All you need to do is write a servlet (my personal preference) or Action that returns the image data and reference it using a plain HTML IMG tag (or a Struts img tag if you need to). http://www.informit.com/guides/content.asp?g=java&seqNum=166&rl=1 <http://www.informit.com/guides/content.asp?g=java&seqNum=166&rl=1> Pay particular attention to the HttpServlet implementation with regards to setting the content type etc. Dave --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]