tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pierre Delisle <pierre.deli...@sun.com>
Subject Re: JSTL and boolean Attributes ???
Date Wed, 22 Jan 2003 18:43:54 GMT
This should work. 
Do you get an exception? What is it?

Are you sure checker refers to a scoped variable that exists?

    -- Pierre


Leif Hanack wrote:
> 
> Hello,
> 
> i want to access a boolean attribute through JSTL.
> 
> If my class looks like:
> 
> class Checker {
>         private boolean m_isValid = false;
> 
>         public void setValid( boolean p_isValid ) {
>                 m_isValid = p_isValid;
>         }
> 
>         public boolean isValid() {
>                 return m_isValid;
>         }
> }
> 
> it seems that JSTL can not access my field:
> 
> <c:out value="${checker.valid}"/>
> 
> Correct? If so, why can't JSTL handle that?
> 
> Thanks in advance, Leif
> 
> --
> To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:taglibs-user-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@jakarta.apache.org>


Mime
View raw message