• Post Reply Bookmark Topic Watch Topic
  • New Topic

HOw to pass BufferedImage to Servlet from

 
Vinoth Thirunavukarasu
Ranch Hand
Posts: 164
Android Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I have a jsp page in that I have to display a image using buffered image data. I have servlet to display data but I don't know how to pass it to servlet page. If Anybody knows please tell me.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anything involving binary data (like images) generally can't be done in a JSP - you need to use a servlet.

An example of how to do that can be found at http://radio.javaranch.com/davo/2007/07/20/1184942077153.html
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!