You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "John W. Himpel" <jo...@jlhimpel.net> on 2012/02/25 00:24:19 UTC

Re: [Resolved] Download a byteArray (jpg image) to browser

"I see" exclaimed the blind man.

Thanks go to Johannes.

John

On Fri, 2012-02-24 at 06:22 -0800, Johannes Geppert wrote:
> 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
> 



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