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, > > 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? > > I'd appreciate any help. > > Thanks in advance. > > NK > > <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %> > <%@ taglib prefix="c_rt" uri="http://java.sun.com/jstl/core_rt" %> > <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> > <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> > <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> > > > > Welcome World! > > > > >

Welcome !

>
> > >
> >

Welcome World!

>
> >
    >
  • Sign in
  • > >
  • Sign out
  • >
    >
    > > > Key is
    > Value is
    >
    > > > Found formRoles manager > > > NOT Found > > > >
    >
> Powered by Struts > > > --------------------------------------------------------------------- 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