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:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


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

Reply via email to