Thanks Shawn, that works great. Just wondering, in the line <c:out value="${myMap.key}"/> no scope is identified. In my case it is a requestScope Map, but I only just noticed I never said requestScope.myMap.key Does this mean that the request scope is 'default' or assumed? or doesn't it matter because the page is in request scope, session scope, application scope etc and will find myMap wherever it may be?
If you know what I mean? Thanks Joel > This will print the value for myMap.get("key"), assuming of course that > the scoped 'myMap' variable is a Map. (Whether it's a HashMap or not > isn't relevant; it's useful to think in terms of interfaces provided by > the Collections framework, not in terms of their implementations.) > > -- > Shawn Bayern > "JSTL in Action" http://www.manning.com/bayern > > =========================================================================== > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.com > =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com