Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 54046 invoked from network); 2 Dec 2004 15:57:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 2 Dec 2004 15:57:02 -0000 Received: (qmail 83146 invoked by uid 500); 2 Dec 2004 15:56:14 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 83033 invoked by uid 500); 2 Dec 2004 15:56:12 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 82901 invoked by uid 99); 2 Dec 2004 15:56:09 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from mail02.connectcomputer.com (HELO mail03.connectcomputer.com) (66.6.71.66) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 02 Dec 2004 07:56:05 -0800 Received: from mail04.CONNECT.CONNECTAPPS.NET (unknown [172.16.2.17]) by mail03.connectcomputer.com (Postfix) with ESMTP id 731D78522 for ; Thu, 2 Dec 2004 10:56:02 -0500 (EST) X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: JSTL when...test won't work. Date: Thu, 2 Dec 2004 10:56:01 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: JSTL when...test won't work. Thread-Index: AcTYhe1mUfiZmMgLQhG7uf3zOSetHAAAS1ng From: "Nadia Kunkov" To: "Struts Users Mailing List" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Thank you, but it still says NOT Found!!! But key:value pairs are = printed out right above so I do have all I need for it to = work. Any other ideas? N.K. -----Original Message----- From: news [mailto:news@sea.gmane.org]On Behalf Of Bill Siggelkow Sent: Thursday, December 02, 2004 10:44 AM To: user@struts.apache.org Subject: Re: JSTL when...test won't work. Found formRoles manager NOT Found Nadia Kunkov wrote: > Hello, >=20 > This is my first try with JSTL and somewhere I'm getting the syntax = wrong. Could you please help me? > I have a bean called user in the session. One of this bean's = properties is a hash map called frmRoles. I need to go over the = hashmap's keys and test if a particular key exists. I'm not getting an = error when I run the jsp, it just tells me that this key is not found. = But I can print all the keys so its my c:choose test syntax. The code = that gives me a problem is in bold face. I also would like to ask you = to point me to the documentation on the syntax used within c:when test. = Is it regular expressions or JSTL syntax? >=20 > I'd appreciate any help. >=20 > Thanks in advance. >=20 > NK >=20 > <%@ taglib prefix=3D"c" uri=3D"http://java.sun.com/jstl/core" %> > <%@ taglib prefix=3D"c_rt" uri=3D"http://java.sun.com/jstl/core_rt" %> > <%@ taglib uri=3D"/WEB-INF/struts-bean.tld" prefix=3D"bean" %> > <%@ taglib uri=3D"/WEB-INF/struts-html.tld" prefix=3D"html" %> > <%@ taglib uri=3D"/WEB-INF/struts-logic.tld" prefix=3D"logic" %> >=20 > > > Welcome World! > > > > >

Welcome !

>
> > >
> >

Welcome World!

>
> =20 >
    >
  • Sign in
  • > >
  • Sign out
  • >
    >
    > > > Key is
    > Value is
    >
    > > > Found formRoles manager > > > NOT Found > > =20 >=20 >
    >
> 3D'Powered >=20 > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org