Rather than embedding a reference to the image data, you need to return a properly formed response containing the correct http headers, then the image data. Here's an excerpted example from one of my servlets that does this:
| ImageDTO imageValue = | ResourceFacadeDelegate.getInstance().getImageDTO(imageKey); | | response.setContentType(imageValue.getMimeType()); | response.getOutputStream().write(imageValue.getImageData()); | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852992#3852992 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852992 ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user