Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 15502 invoked from network); 24 Nov 2008 19:21:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Nov 2008 19:21:44 -0000 Received: (qmail 30080 invoked by uid 500); 24 Nov 2008 19:21:43 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 30058 invoked by uid 500); 24 Nov 2008 19:21:43 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 30047 invoked by uid 99); 24 Nov 2008 19:21:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Nov 2008 11:21:43 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [212.85.38.174] (HELO popeye.combios.es) (212.85.38.174) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Nov 2008 19:20:17 +0000 Received: from [192.168.245.129] (p549EA67A.dip0.t-ipconnect.de [84.158.166.122]) (authenticated bits=0) by popeye.combios.es (8.13.8/8.13.8/Debian-3) with ESMTP id mAOJE4ZN020431 for ; Mon, 24 Nov 2008 20:14:05 +0100 Message-ID: <492AFCF1.40601@ice-sa.com> Date: Mon, 24 Nov 2008 20:13:53 +0100 From: =?ISO-8859-1?Q?Andr=E9_Warnier?= User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: User Request Ordering References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on popeye.combios.es X-Virus-Scanned: ClamAV 0.92.1/8669/Mon Nov 24 09:21:48 2008 on popeye.combios.es X-Virus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-97.9 required=2.5 tests=RCVD_IN_PBL, RCVD_IN_SORBS_DUL,USER_IN_WHITELIST autolearn=no version=3.2.3 Clifton B. Sothoron Jr. wrote: > I have a Tomcat 6.0 Web application with a number of buttons on the > screen. Some of them execute quickly, some more slowly. However, they > need to execute in order. When a user clicks on a slow button and then > clicks on a fast button Tomcat needs to wait for the results of the slow > button before moving on to the fast executing button. However, this is > not happening. The results of the fast button are disrupting the results > of the slow button. How do I configure Tomcat to process user requests > in order? > You can not, and this has nothing to do with Tomcat per se. I would say that this is a case of a badly-designed user interface. It should not be possible for the user to click several buttons, if the result is so that it might cause trouble in the application. You need to control that at the user interface level, which means in the html page itself (or applet, if that is what you use). The inappropriate buttons should be disabled (and visibly so for the user), and only enabled when it is "legal" for the user to click them, in other words when the response from the previous logical action has been received. At the most, what any HTTP server (Tomcat being one of many) could do, is to keep some track of a "user session", that would allow an application, at the server side, to notice that some pre-requisite for the current request has not been met (like, this other action that should have been done before, has not been done yet), and return an error to the user. But that would be quite difficult for the user to understand, in addition to loading your application with invalid requests. It would be more logical to prevent this at the source, no ? (In fact, for security and reliability you need to do both, and not absolutely rely on a user-side page that can be manipulated). --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org