|
|
BufferedImage has to displayed
hi, my problem is how to display a bufferedImage along with the data from the controller.
i m using a MultiActionController to display the data and i need to display a BufferedImage which is generated in a servlet.
outputStream = response.getOutputStream();
ImageIO.write(bufferedImage, quot;jpegquot;, outputStream);
when this statement is encountered the image is displayed but it fails to attend the controller data!
There is also another issue the data for the image is obtained from the previous session.
i would request for a solution to this.
What you mean by an image along with the controller data?
If you mean that you have to display a html page containing an image remember that images are served by different request other than the one generating the html |
|