[jboss-user] [JBoss Seam] - Displaying Picture from blob

vice do-not-reply at jboss.com
Tue Dec 19 06:14:31 EST 2006


I was able to upload picture to database using file upload and tomahawk.jar. But I don't know how to display the picture in jsf using seam.

If I just use HttpServlet I can write directly using:
response.setContentType("image/jpeg");
response.getOutputStream().write(productImage);

and in the xhtml I use:


How to get do this in seam? Anyone can help?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994935#3994935

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994935



More information about the jboss-user mailing list