tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John C Cartwright" <>
Subject <c:if> and boolean value
Date Thu, 06 Feb 2003 01:23:19 GMT
Hello All,

I have a isRunning() method in my bean that returns a boolean.  I'm try 
to test against that value with something like the following:

<c:if test="${mapservice.running} == true">
<img src="../images/TransGear.gif" width="20" height="20">

The problem is that even though the bean's getter method is properly 
returning the true value (I can print it into the HTML page), the above 
conditional always fails.  Can someone point out what I'm doing wrong?

JSTL v.1.2, core library.


-- john

John Cartwright
Associate Scientist
Geospatial Data Services Group
CIRES, National Geophysical Data Center/NOAA
(303) 497-6284

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message