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
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
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
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:
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
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
*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:
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