Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 45788 invoked from network); 24 Feb 2004 02:04:05 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 24 Feb 2004 02:04:05 -0000 Received: (qmail 97593 invoked by uid 500); 24 Feb 2004 02:03:27 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 97568 invoked by uid 500); 24 Feb 2004 02:03:27 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 97553 invoked from network); 24 Feb 2004 02:03:26 -0000 Received: from unknown (HELO main.gmane.org) (80.91.224.249) by daedalus.apache.org with SMTP; 24 Feb 2004 02:03:26 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AvRv4-0000pl-00 for ; Tue, 24 Feb 2004 03:03:34 +0100 Received: from alb-24-195-115-198.nycap.rr.com ([24.195.115.198]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue Feb 24 02:03:34 2004 Received: from hesterloli by alb-24-195-115-198.nycap.rr.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue Feb 24 02:03:34 2004 X-Injected-Via-Gmane: http://gmane.org/ To: tomcat-user@jakarta.apache.org From: "George Hester" Subject: What's the problem with Tomcat 4.1.29 and Switch? Date: Mon, 23 Feb 2004 21:03:32 -0500 Organization: Home Lines: 59 Message-ID: Reply-To: "George Hester" Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: alb-24-195-115-198.nycap.rr.com X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4922.1500 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4925.2800 Sender: news X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N In Tomacat this works fine: <-- switch.jsp --> <% int day =3D 3; %> Test Switch <% switch (day) { case 1: out.println("Sunday"); break; case 2: out.println("Monday"); break; default: out.println("No day"); break; } %> but this does NOT <-- switch.jsp --> <% int day =3D 3; %> Test Switch <% switch (day) { %> <% case 1: out.println("Sunday"); break; case 2: out.println("Monday"); break; default: out.println("No day"); break; } %> --=20 George Hester __________________________________ --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org