Return-Path: Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 86451 invoked from network); 1 Aug 2003 00:38:39 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 1 Aug 2003 00:38:39 -0000 Received: (qmail 21731 invoked by uid 50); 1 Aug 2003 00:41:22 -0000 Date: 1 Aug 2003 00:41:22 -0000 Message-ID: <20030801004122.21730.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: tomcat-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 22039] New: - client-side javascript, struts, frames, multi-action function X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22039 client-side javascript, struts, frames, multi-action function Summary: client-side javascript, struts, frames, multi-action function Product: Tomcat 4 Version: 4.1.18 Platform: PC OS/Version: Linux Status: NEW Severity: Normal Priority: Other Component: Unknown AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: pcgscrap@comcast.net Here is the deal: I have an app that uses the struts action framework. There are 5 frames in the browser. Clicking an item in Frame 3 sends 2 actions to the server. Action 1 causes frame 2 & 4 to get updated and action 2 causes frame 5 to get updated. The problem is that frame 5 doesn't always get updated unless you click on the item 2 or more times. Here is some code and javascript being used to send the commmands to the server. onclick="javascript:loadFrames(,)" function (mid,bottom){ parent.frame_mid.location = mid; parent.frame_bottom.location = bottom; parent.frame_bottom.reload(true); } mid & bottom parameters are actually action commands of the following form: /Controller&cmd=call_list&id=xyz The first statement always works without fail but the second doesn't. Can someone PLEASE give me clue as to what the hell is going on. I have searched for and tried every variation that I could find but no luck. Do I need to make the overridden service() function synchronized so the server threads process everything in order?