struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johannes Geppert <jo...@apache.org>
Subject Re: Download a byteArray (jpg image) to browser
Date Fri, 24 Feb 2012 14:22:27 GMT
The Problem is followinmg Line:

            ByteArrayInputStream fileInputStream = new
ByteArrayInputStream(imagePhoto.getPhotoImage());

this should be

            this.fileInputStream = new
ByteArrayInputStream(imagePhoto.getPhotoImage());

Johannes

-----
web: http://www.jgeppert.com
twitter: http://twitter.com/jogep
--
View this message in context: http://struts.1045723.n5.nabble.com/Download-a-byteArray-jpg-image-to-browser-tp5509528p5512933.html
Sent from the Struts - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message