Re: java.net.SocketException: Broken pipe with JS code
Re: java.net.SocketException: Broken pipe with JS code
- Subject: Re: java.net.SocketException: Broken pipe with JS code
- From: Chuck Hill <email@hidden>
- Date: Wed, 26 Mar 2003 11:16:55 -0800
You need to tell the hyperlink to not perform its normal action:
onClick = "submit(); return false;"
Chuck
At 10:49 AM 26/03/2003 -0500, Jacky Gagnon wrote:
>Hi,
>
>When I use this javascript code ( onClick = "submit()" ), I obtain this
>exception : "Exception while sending response:
>java.net.SocketException: Broken pipe" each time I click on the link
>containing this JS code.
>
>Is this a bug with WO 5.1?
>
>Because I don't have this problem with standard submit button!!!
>
>Thanks!
>
>Jacky Gagnon
>
>
>_______________________________________________
>WebObjects-dev mailing list
>email@hidden
>http://www.omnigroup.com/mailman/listinfo/webobjects-dev
>
--
Chuck Hill email@hidden
Global Village Consulting Inc. http://www.global-village.net
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.