Which implements Map...

Quoting Allistair Crossley <[EMAIL PROTECTED]>:

> sorry i meant to let you all know .. my bean was extending
> java.util.Properties
> 
> AC
> 
> > -----Original Message-----
> > From: Karr, David [mailto:[EMAIL PROTECTED]
> > Sent: 19 July 2004 16:33
> > To: Tag Libraries Users List
> > Subject: RE: Scriplet OK, JSTL OK - result different!!
> > 
> > 
> > It might be interesting to see what it does with the following:
> > 
> >  <c:out value="${node.title}"/>
> >  <c:if test="${empty node}">
> >     is empty node
> >  </c:if>
> >  <c:if test="${empty node.title}">
> >     is empty node.title
> >  </c:if>
> > 
> > > -----Original Message-----
> > > From: Allistair Crossley [mailto:[EMAIL PROTECTED] 
> > > 
> > > OK guys, this is an odd one. Have been using JSTL 1.1 for a 
> > > short while with no problems until today. I am adding a 
> > > request attribute called "node". The following is in my JSP...
> > > 
> > > <%
> > >   Node node = (Node) request.getAttribute("node");
> > >   out.println(node.getTitle());
> > > %>
> > > 
> > > <c:if test="${empty requestScope.node}">
> > >   is empty node
> > > </c:if>
> > > 
> > > The top scriplet section DOES print out the value of the node 
> > > title, e.g "A Title". The JSTL IF block DOES print "is empty 
> > > node". Therefore JSTL _is_ working, just not _finding_!
> > > 
> > > How can this be that JSTL is not able to find my "node" 
> > > object but traditional scriplet can?
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
> 
> 
> <FONT SIZE=1 FACE="VERDANA,ARIAL" COLOR=BLUE> 
> -------------------------------------------------------
> QAS Ltd.
> Developers of QuickAddress Software
> <a href="http://www.qas.com";>www.qas.com</a>
> Registered in England: No 2582055
> Registered in Australia: No 082 851 474
> -------------------------------------------------------
> </FONT>

-- 
Kris Schneider <mailto:[EMAIL PROTECTED]>
D.O.Tech       <http://www.dotech.com/>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to