I post the problem on another forum and an user told me that I need put the
contentType for the browser know that is an image.
 

I add this line but doesn`t work yet

public void prepareResponse(Response response) {

response.setHeader("Content-type","image/jpeg");
response.setHeader("Content-Disposition", "inline;filename=" + filename+
((extension == null) ? "" : ("." +extension)));
}



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/BufferedImage-in-Tapestry-tp5714465p5716533.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to