Hi Martin I also tried this.getRequestCycle().getOriginalResponse().setContentType("image/jpg"); getResponse().setContentType("image/jpeg");
but still getting same exception.. Please let me know how can I set content type (mime type ) of response so that content type of response and image should be same. I know the mime type of Image is JPEG... Thanks in advance.. Thanks Shail -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/EOFException-java-net-SocketException-Connection-reset-by-peer-socket-write-error-tp4043286p4083480.html Sent from the Users forum mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org