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

2011-11-16 Thread yadav1776
Hi I am getting EOFException(java.net.SocketException: Connection reset by peer: socket write error) exception while returning byte[] from getImageData() function of DynamicImageResource class in onBeforeRender() function of component. Stack trace is as below.

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: integrating CDI into Wicket

2011-11-16 Thread Martijn Dashorst
On Tue, Nov 15, 2011 at 7:00 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: if you want to learn how to use CDI with Wicket i just wrote a short blog about it: https://www.42lines.net/2011/11/15/integrating-cdi-into-wicket/ Can we use it for the documentation of the CDI project (when we

Re: integrating CDI into Wicket

2011-11-16 Thread Igor Vaynberg
sure -igor On Wed, Nov 16, 2011 at 12:49 AM, Martijn Dashorst martijn.dasho...@gmail.com wrote: On Tue, Nov 15, 2011 at 7:00 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: if you want to learn how to use CDI with Wicket i just wrote a short blog about it:

wicket-cdi NotSerializableException for injected SLSB proxy

2011-11-16 Thread Phill
I'm using the wicket-cdi module (https://github.com/42Lines/wicket-cdi) to inject an SLSB with Glassfish 3.1.1 MyWebApplication.init() BeanManager manager = (BeanManager) ic.lookup(java:comp/BeanManager); new CdiConfiguration(manager)

StringValue.toOptionalLong incorrect behavior

2011-11-16 Thread Илья Нарыжный
Hello, I have page mounted as @MountPath(/page/#{pageId}) Also I have following code: public ViewPagePage(PageParameters params) { this(getEntityPkFor(params, Page.class, 1)); //1 - is default ID if PK in url was not found } and: protected static Long

Re: integrating CDI into Wicket

2011-11-16 Thread Martin Grigorov
speaking of moving it to Apache.. currently we have some inconsistencies between Spring and Guice integrations and users ask from time to time : - why we don't use jsr330 @javax.inject.Inject since both Spring and Guice support it. With CDI I think javax.enterprise.inject.Inject is used which is

Re: integrating CDI into Wicket

2011-11-16 Thread Martin Grigorov
one more question: is there anything Weld specific in wicket-cdi or it should work with other CDI implementations too ? On Wed, Nov 16, 2011 at 11:20 AM, Martin Grigorov mgrigo...@apache.org wrote: speaking of moving it to Apache.. currently we have some inconsistencies between Spring and

Re: StringValue.toOptionalLong incorrect behavior

2011-11-16 Thread Martin Grigorov
Hi, At least this is what the javadoc says: Convert to object types, returning null if text is null. I think the more appropriate method for you is org.apache.wicket.util.string.StringValue.toLong(long) but it also throws exceptions if the provided value is empty string. On Wed, Nov 16, 2011 at

Re: StringValue.toOptionalLong incorrect behavior

2011-11-16 Thread vineet semwal
martin i too think tooptionalMethods in StringValue should behave the way llia is saying ie. they should return null if text is empty or null.. for eg. currently public final Long toOptionalLong() throws StringValueConversionException { return (text == null) ? null :

Re: Call an external url setting method and header

2011-11-16 Thread Alberto Brosich
On 11/16/2011 08:16 AM, Martin Grigorov wrote: Hi, On Tue, Nov 15, 2011 at 8:45 PM, Albertoabros...@ogs.trieste.it wrote: Hi, I have to call an external url (a rest web service) from onSubmit of a form. I found this solution: |throw new RedirectToUrlException(

AW: Call an external url setting method and header

2011-11-16 Thread Sven Meier
Hi, just create you own IRequestHandler. Instead of interrupting request processing with an exception, just schedule it with RequestCycle#scheduleRequestHandlerAfterCurrent() in your form's submit method. Sven -Ursprüngliche Nachricht- Von: Alberto Brosich

Re: StringValue.toOptionalLong incorrect behavior

2011-11-16 Thread Martin Grigorov
Hi, On Wed, Nov 16, 2011 at 11:50 AM, vineet semwal vineetsemwal1...@gmail.com wrote: martin i too think tooptionalMethods in StringValue should behave the way llia is saying ie. they should return null if text is empty or null.. Hm. Not quite convinced. ?a=bc=e=f is a valid query string and

Re: Call an external url setting method and header

2011-11-16 Thread Martin Grigorov
On Wed, Nov 16, 2011 at 12:02 PM, Sven Meier s...@meiers.net wrote: Hi, just create you own IRequestHandler. No need to create, there are default ones: TextRequestHandler (for success) and ErrorCodeRequestHandler (for failure) Instead of interrupting request processing with an exception,

Re: StringValue.toOptionalLong incorrect behavior

2011-11-16 Thread vineet semwal
yeah not needed for toOptionalString() but why not for toOptionalBoolean()? On Wed, Nov 16, 2011 at 3:39 PM, Martin Grigorov mgrigo...@apache.org wrote: Hi, On Wed, Nov 16, 2011 at 11:50 AM, vineet semwal vineetsemwal1...@gmail.com wrote: martin i too think tooptionalMethods in StringValue

Re: integrating CDI into Wicket

2011-11-16 Thread James Carman
The only thing external is the conversation management stuff from Seam, it looks like. The user would have to make sure they include the container-specific adapter code on the classpath (org.jboss.seam.conversation:seam-conversation-weld for example) for their CDI container. Another concern

Re: integrating CDI into Wicket

2011-11-16 Thread Martin Grigorov
On Wed, Nov 16, 2011 at 1:49 PM, James Carman ja...@carmanconsulting.com wrote: The only thing external is the conversation management stuff from Seam, it looks like.  The user would have to make sure they include the container-specific adapter code on the classpath

Re: integrating CDI into Wicket

2011-11-16 Thread James Carman
Is the license compatible? I am actually going to roll my own in wicketopia. On Nov 16, 2011 6:59 AM, Martin Grigorov mgrigo...@apache.org wrote: On Wed, Nov 16, 2011 at 1:49 PM, James Carman ja...@carmanconsulting.com wrote: The only thing external is the conversation management stuff from

jsessionid not appended for stateful pages

2011-11-16 Thread thomas willomitzer
Dear all, I've spent quite a bit of time tracking down a problem I'm having using wicket and stateful pages. I've enabled the jsessionid url rewriting in tomcat (by simply using the default settings) but I get a redirect url without the jsessionid. I've traced into tomcat's Response.encodeUrl

Re: jsessionid not appended for stateful pages

2011-11-16 Thread Martin Grigorov
Hi, On Wed, Nov 16, 2011 at 2:29 PM, thomas willomitzer willomit...@gmail.com wrote: Dear all, I've spent quite a bit of time tracking down a problem I'm having using wicket and stateful pages. I've enabled the jsessionid url rewriting in tomcat (by simply using the default settings) but I

Re: Call an external url setting method and header

2011-11-16 Thread Alberto Brosich
On 11/16/2011 11:10 AM, Martin Grigorov wrote: On Wed, Nov 16, 2011 at 12:02 PM, Sven Meiers...@meiers.net wrote: Hi, just create you own IRequestHandler. No need to create, there are default ones: TextRequestHandler (for success) and ErrorCodeRequestHandler (for failure) Ok, it's working.

Forum vs list question

2011-11-16 Thread Neill Rosenthal
Can someone please explain how I can participate in the User forum on Nabble without having to join the mailing list? Or if I do need to join, how can I avoid receiving all emails generated by the list?

Dealing with 3 choice components

2011-11-16 Thread Alberto Brosich
I have a form with with 3 choice components: A) DropDownChoice B) DropDownChoice C) ListMultipleChoice The values of B depend on selected value of A. The values of C depend on selected values of A and B I override the wantOnSelectionChangedNotifications() and onSelectionChanged() methods of

Re: Call an external url setting method and header

2011-11-16 Thread Martin Grigorov
On Wed, Nov 16, 2011 at 2:57 PM, Alberto Brosich abros...@ogs.trieste.it wrote: On 11/16/2011 11:10 AM, Martin Grigorov wrote: On Wed, Nov 16, 2011 at 12:02 PM, Sven Meiers...@meiers.net  wrote: Hi, just create you own IRequestHandler. No need to create, there are default ones:

Re: jsessionid not appended for stateful pages

2011-11-16 Thread thomas willomitzer
Hi Martin, Sorry for the confusion I meant that i've seen org.apache.wicket.util.string.Strings.stripJSessionId(uri) being called for ResourceReferences to Javascript and Css. I'm using wicket 1.5.1 and tomcat 6.0.33. You're right - I've traced from

Re: jsessionid not appended for stateful pages

2011-11-16 Thread Martin Grigorov
On Wed, Nov 16, 2011 at 4:02 PM, thomas willomitzer wi...@test.at wrote: Hi Martin, Sorry for the confusion I meant that i've seen org.apache.wicket.util.string.Strings.stripJSessionId(uri) being called for ResourceReferences to Javascript and Css. This is used to check whether a given

pagemap problem ??

2011-11-16 Thread klyver
Hi, we have a critical problem. Some of our users get access to other users data. We don't understand why it happens. Occasionally, when we render a panel it shows data that belongs to another user. Here is a boiled down example of a panel in our application. public class TestPanel extends

Re: pagemap problem ??

2011-11-16 Thread Martin Grigorov
Hi, On Wed, Nov 16, 2011 at 4:11 PM, klyver k.kly...@gmail.com wrote: Hi, we have a critical problem. Some of our users get access to other users data. We don't understand why it happens. Occasionally, when we render a panel it shows data that belongs to another user. Here is a boiled

Re: integrating CDI into Wicket

2011-11-16 Thread Peter Ertl
- why we don't use jsr330 @javax.inject.Inject since both Spring and Guice support it. With CDI I think javax.enterprise.inject.Inject is used which is yet another … I would not try to support @javax.inject.Inject which means using the lowest common denominator of all these injection

Configuration problem with net.ftlines.wicket-bean-validation

2011-11-16 Thread Jablow, Eric R
First, let me thank Igor Vaynberg for being so responsive updating the net.ftlines.wicket-bean-validationhttp://mvnrepository.com/artifact/net.ftlines.wicket-bean-validation project. I still have one final problem configuring it. I have a test that checks that setting a field to a value that

Re: Configuration problem with net.ftlines.wicket-bean-validation

2011-11-16 Thread Martin Grigorov
Hi, Looking at the stacktrace I think you should add this line to Wicket's resource bundle. Just add it to YourApplication.properties and it should be fine. On Wed, Nov 16, 2011 at 5:12 PM, Jablow, Eric R eric.jab...@mantech.com wrote: First, let me thank Igor Vaynberg for being so responsive

RE: Configuration problem with net.ftlines.wicket-bean-validation

2011-11-16 Thread Jablow, Eric R
From: Martin Grigorov [mailto:mgrigo...@apache.org] Hi, Looking at the stacktrace I think you should add this line to Wicket's resource bundle. Just add it to YourApplication.properties and it should be fine. That must be it. The library project tries to get its validation messages via the

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: Wizard finish button prevent double click

2011-11-16 Thread Jeffrey Schneller
Any additional thoughts on this. I tried just putting an onclick on the button itself. But it still prevents the form from submitting. If I remove the onclick then everything works fine. This should not be this hard. The button is defined below: button class=cmdButton wicket:id=finish

Re: jsessionid not appended for stateful pages

2011-11-16 Thread thomas willomitzer
Martin, Upgrading to 1.5.2 and using tomcat 7.0.22 fixed my issue - now I get Location: https://localhost/.;jsessionid=176D66D946CA33F54798F8EE1863C475 Thanks Thomas On Wed, Nov 16, 2011 at 3:09 PM, Martin Grigorov mgrigo...@apache.orgwrote: On Wed, Nov 16, 2011 at 4:02 PM, thomas

Re: jsessionid not appended for stateful pages

2011-11-16 Thread thomas willomitzer
Sorry ... wicket 1.5.3 On Wed, Nov 16, 2011 at 5:11 PM, thomas willomitzer wi...@test.at wrote: Martin, Upgrading to 1.5.2 and using tomcat 7.0.22 fixed my issue - now I get Location: https://localhost/.;jsessionid=176D66D946CA33F54798F8EE1863C475 Thanks Thomas On Wed, Nov 16, 2011

Re: Wizard finish button prevent double click

2011-11-16 Thread Martin Grigorov
Hi, On Wed, Nov 16, 2011 at 5:50 PM, Jeffrey Schneller jeffrey.schnel...@envisa.com wrote: Any additional thoughts on this. I tried just putting an onclick on the button itself.  But it still prevents the form from submitting.  If I remove the onclick then everything works fine.  This should

RE: Configuration problem with net.ftlines.wicket-bean-validation

2011-11-16 Thread Jablow, Eric R
From: Martin Grigorov [mailto:mgrigo...@apache.org] Hi, Looking at the stacktrace I think you should add this line to Wicket's resource bundle. Just add it to YourApplication.properties and it should be fine. I'm a lot closer to fine, now. However, I think I've exposed a usability problem

Re: Exception Handling in 1.5

2011-11-16 Thread Nelson Segura
Great. Thanks for your help. On Mon, Nov 14, 2011 at 7:06 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: application.getrequestcyclelisteners().add(new abstractrequestcyclelistener() {  irequsthandler onexception(e) {       Throwable cause = e;       if (cause instanceof

Re: Configuration problem with net.ftlines.wicket-bean-validation

2011-11-16 Thread Martin Grigorov
On Wed, Nov 16, 2011 at 6:23 PM, Jablow, Eric R eric.jab...@mantech.com wrote: From: Martin Grigorov [mailto:mgrigo...@apache.org] Hi, Looking at the stacktrace I think you should add this line to Wicket's resource bundle. Just add it to YourApplication.properties and it should be fine.

wicket 302 redirect loop

2011-11-16 Thread thomas willomitzer
Dear All, I've managed to get the jsessionid appended correctly when requesting a page without cookies enabled (wicket 1.5.3, tomcat 7.0.22). I get curl -v --insecure https://localhost/ - Location: https://localhost/?1 curl -v --insecure https://localhost/?1 - Location:

Re: integrating CDI into Wicket

2011-11-16 Thread Igor Vaynberg
using @javax.inject.Inject is perfectly fine. the rest (required, dont proxy, blah) can be done using qualifier annotations @javax.inject.Inject @org.apache.wicket.ioc.Dependency(required=true, proxy=false) -igor On Wed, Nov 16, 2011 at 6:36 AM, Peter Ertl pe...@gmx.org wrote: - why we

Re: NullPointerException in WicketTester

2011-11-16 Thread sudeivas
Thanks for the update. I add velocity.jar to my classpath. Now I am getting PageExpiredException. org.apache.wicket.protocol.http.PageExpiredException: Page with id '0' has expired. at org.apache.wicket.request.handler.PageProvider.getPageInstance(PageProvider.java:169) at

Re: integrating CDI into Wicket

2011-11-16 Thread Igor Vaynberg
On Wed, Nov 16, 2011 at 1:20 AM, Martin Grigorov mgrigo...@apache.org wrote: speaking of moving it to Apache.. currently we have some inconsistencies between Spring and Guice integrations and users ask from time to time : - why we don't use jsr330 @javax.inject.Inject since both Spring and

Re: integrating CDI into Wicket

2011-11-16 Thread Igor Vaynberg
On Wed, Nov 16, 2011 at 3:49 AM, James Carman ja...@carmanconsulting.com wrote: The only thing external is the conversation management stuff from Seam, it looks like.  The user would have to make sure they include the container-specific adapter code on the classpath

Re: integrating CDI into Wicket

2011-11-16 Thread Martin Grigorov
On Wed, Nov 16, 2011 at 6:45 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: On Wed, Nov 16, 2011 at 1:20 AM, Martin Grigorov mgrigo...@apache.org wrote: speaking of moving it to Apache.. currently we have some inconsistencies between Spring and Guice integrations and users ask from time to

Re: integrating CDI into Wicket

2011-11-16 Thread Peter Ertl
+1 very nice, igor :-) Am 16.11.2011 um 17:33 schrieb Igor Vaynberg: using @javax.inject.Inject is perfectly fine. the rest (required, dont proxy, blah) can be done using qualifier annotations @javax.inject.Inject @org.apache.wicket.ioc.Dependency(required=true, proxy=false) -igor

Re: wicket 302 redirect loop

2011-11-16 Thread Bertrand Guay-Paquet
Hi, I had a redirect loop once because I added an override to Page#getPageParameters() by mistake. I wanted to use my method to generate a new PageParameters instance for a page but overriding the Page method gave your result. It's worth a shot! Regards, Bertrand On 16/11/2011 11:40 AM,

Re: Dealing with 3 choice components

2011-11-16 Thread Andrea Del Bene
Hi, can you elaborate a little bit more what behavior you want to achieve? I mean, C becomes empty because A#onSelectionChanged sets its model to null. This should not be strange. I have a form with with 3 choice components: A) DropDownChoice B) DropDownChoice C) ListMultipleChoice The

Re: Configuration problem with net.ftlines.wicket-bean-validation

2011-11-16 Thread Igor Vaynberg
since we use wicket's localization to resolve errors (which allows you to override them on component/page/foo) level we have to use wicket's placeholder syntax which is ${key} instead of {key}. fix that in your message and you will be fine. -igor On Wed, Nov 16, 2011 at 8:23 AM, Jablow, Eric R

Re: Forum vs list question

2011-11-16 Thread Igor Vaynberg
posting from nabble was disabled because sometimes it would post the same message ten times or start a new thread for a reply. subscribing to the list is the best way. -igor On Wed, Nov 16, 2011 at 5:18 AM, Neill Rosenthal ne...@tsi.co.za wrote: Can someone please explain how I can participate

Re: wicket 302 redirect loop

2011-11-16 Thread thomas willomitzer
Hi, Thanks I checked but no getPageParameters() override ;) Regards Thomas On Wed, Nov 16, 2011 at 6:04 PM, Bertrand Guay-Paquet ber...@step.polymtl.ca wrote: Hi, I had a redirect loop once because I added an override to Page#getPageParameters() by mistake. I wanted to use my method to

Re: NullPointerException in WicketTester

2011-11-16 Thread Igor Vaynberg
there are hundreds of tests in the wicket jar, and they work just fine... -igor On Wed, Nov 16, 2011 at 8:43 AM, sudeivas sureshkumar@gmail.com wrote: Has anyone successfully written unit tests under 1.5.3? If yes, I could use some documentation. I saw this jira -

Help with AjaxLazyLoadPanel

2011-11-16 Thread heapifyman
Hello everyone, I'm using an AjaxLazyLoadPanel in one of my pages to lazily load a datatable where the data is read in from some files, which might take a while. This is working fine so far. However, I also need to provide functionality to clear the whole table and read in the data from the files

Re: Dealing with 3 choice components

2011-11-16 Thread Alberto
On 11/16/2011 06:06 PM, Andrea Del Bene wrote: Hi, can you elaborate a little bit more what behavior you want to achieve? I mean, C becomes empty because A#onSelectionChanged sets its model to null. This should not be strange. Yes, sounds obvious to me too. But I found an examples with 2

Re: Migrating a ResourceStreamRequestTarget to a ResourceStreamRequestHandler (2)

2011-11-16 Thread hfriederichs
Hello, Yes, I did, realizing that it's a bit of a coarse solution. As it happens, my application main function is to execute scripts for automated deployment on a WebSphere platform, so users work with a JEE-application they select from a wicket Ajax-textfield with application build versions

Re: wicket 302 redirect loop

2011-11-16 Thread Bertrand Guay-Paquet
I don't know of any other specific causes unfortunately... Try setting a breakpoint in RequestCycle#onBeginRequest() and see what happens. Try your page constructor too since it might be closer to the source of the problem. Good luck! Bertrand On 16/11/2011 12:21 PM, thomas willomitzer

InMethod grid, Hidden Field in column does not get updated

2011-11-16 Thread Warren Bell
I have an Inmethod grid with a HiddenField in a panel in a column. This HiddenField does not get updated after a SubmitCancelColumn is clicked. All the other fields get updated correctly except for the HiddenField. There is also a TextField in the same panel as the HiddenField, the TextField

Re: wicket 302 redirect loop

2011-11-16 Thread Martin Grigorov
The best place to find out why it happens is org.apache.wicket.request.handler.render.WebPageRenderer.respond(RequestCycle) Just don't be scared to follow the code inside :-) On Wed, Nov 16, 2011 at 8:57 PM, Bertrand Guay-Paquet ber...@step.polymtl.ca wrote: I don't know of any other specific

Re: integrating CDI into Wicket

2011-11-16 Thread James Carman
On Nov 16, 2011 11:49 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote: On Wed, Nov 16, 2011 at 3:49 AM, James Carman ja...@carmanconsulting.com wrote: The only thing external is the conversation management stuff from Seam, it looks like. The user would have to make sure they include the

RE: Wizard finish button prevent double click

2011-11-16 Thread Jeffrey Schneller
Problem has been solved. The finish button needs to remain enabled for the wizard to submit to the onFinish() method. So I was not able to mark the finish button as disabled. The javascript/jquery that I had was correct. To resolve the problem I just hide the finish button once it is pressed

Re: integrating CDI into Wicket

2011-11-16 Thread Igor Vaynberg
why would you write your own when one is already there? -igor On Wed, Nov 16, 2011 at 12:37 PM, James Carman ja...@carmanconsulting.com wrote: On Nov 16, 2011 11:49 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote: On Wed, Nov 16, 2011 at 3:49 AM, James Carman ja...@carmanconsulting.com

Re: Dealing with 3 choice components

2011-11-16 Thread Andrea Del Bene
Are you referring to the example from book Apache-Wicket-Cookbook, page n°34? If so, how do you populate the list of C? Maybe you should not set to null B model when you change value in A. If you can try to give an example of values from A,B and C. On 11/16/2011 07:33 PM, Alberto wrote: On

Re: integrating CDI into Wicket

2011-11-16 Thread James Carman
That's just how I roll! :) it's a learning exercise for me. I started a cdi integration project long ago and it got lost in the shuffle On Nov 16, 2011 3:42 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: why would you write your own when one is already there? -igor On Wed, Nov 16, 2011

Re: NullPointerException in WicketTester

2011-11-16 Thread sudeivas
Finally got the issue resolved. I removed the dependency on wicket-velocity and also I was using some mock libraries. Removed everything and tried a simple test case and it worked. Thanks Suresh -- View this message in context:

wicket 1.5.3 problems with cookies

2011-11-16 Thread kamiseq
hej, it seems that wicket is not storing cookies :/. im adding TEST cookie with final Cookie cookie = new Cookie(name, value); cookie.setMaxAge(Integer.MAX_VALUE); ((WebResponse)getResponse()).addCookie(cookie); and reading it on different page final ListCookie cookies = ((WebRequest)

Re: wicket 1.5.3 problems with cookies

2011-11-16 Thread Martin Grigorov
See CookieUtils helper class and make sure that you don't use ResetResponseException or any of its specializations like RestartResponseException On Thu, Nov 17, 2011 at 1:52 AM, kamiseq kami...@gmail.com wrote: hej, it seems that wicket is not storing cookies :/. im adding TEST cookie with

Re: wicket 1.5.3 problems with cookies

2011-11-16 Thread Dirk Forchel
Why is it important not to use RestartResponseException? In Wicket 1.4 it was the preferred way to redirect to another (error) page e.g. in case of a missing resource during construction time of a page. -- View this message in context:

Re: wicket 1.5.3 problems with cookies

2011-11-16 Thread Martin Grigorov
On Thu, Nov 17, 2011 at 8:54 AM, Dirk Forchel dirk.forc...@exedio.com wrote: Why is it important not to use RestartResponseException? In Wicket 1.4 it was the preferred way to redirect to another (error) page e.g. in case of a missing resource during construction time of a page. 1)

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