RE: EOFException(java.net.SocketException: Connection reset by peer: socket write error)

2011-11-18 Thread yadav1776
Hi Iver/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

Re: EOFException(java.net.SocketException: Connection reset by peer: socket write error)

2011-11-18 Thread yadav1776
Hi I am facing this problem in IE9 also.. 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-tp4043286p4083475.html Sent from the Users forum mailing list archive at

Re: EOFException(java.net.SocketException: Connection reset by peer: socket write error)

2011-11-18 Thread yadav1776
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

Re: EOFException(java.net.SocketException: Connection reset by peer: socket write error)

2011-11-17 Thread nhsoft.yhw
jira issues: https://issues.apache.org/jira/browse/WICKET-3869 Is only in IE6, IE7, IE8 will occur in this problem? -- View this message in context:

Re: EOFException(java.net.SocketException: Connection reset by peer: socket write error)

2011-11-16 Thread Martin Grigorov
Hi, I have seen such problems with Internet Explorer. If the delivered image mime type is not correct (i.e. the response header says image/gif but the image is actually a GIF) then IE aborts the load of the image and starts a new one. The first abort causes such Connection reset by peer

Re: EOFException(java.net.SocketException: Connection reset by peer: socket write error)

2011-11-16 Thread yadav1776
Hi Martin Thanks for reply. But when I set content type of response *this.getRequestCycle().getOriginalResponse().setContentType(jpg);* then getImageData() function for *DynamicImageResource* class is not called. So image on the page in not rendered. I am using *NonCachingImage* class. Thanks

RE: EOFException(java.net.SocketException: Connection reset by peer: socket write error)

2011-11-16 Thread Wilhelmsen Tor Iver
*this.getRequestCycle().getOriginalResponse().setContentType(jpg);* Looks wrong, typically the content type is a MIME content type, which has two components, e.g. image/jpeg - Tor Iver - To unsubscribe, e-mail:

Re: EOFException(java.net.SocketException: Connection reset by peer: socket write error)

2011-11-16 Thread Martin Grigorov
On Wed, Nov 16, 2011 at 10:47 AM, Martin Grigorov mgrigo...@apache.org wrote: Hi, I have seen such problems with Internet Explorer. If the delivered image mime type is not correct (i.e. the response header says image/gif but the image is actually a GIF) then IE Sorry. I meant if the content