tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Cooper <mart...@apache.org>
Subject Re: JSTL and boolean Attributes ???
Date Wed, 22 Jan 2003 20:04:49 GMT
Where is your 'checker' object, and how did you create it and put it
there?

--
Martin Cooper


On Wed, 22 Jan 2003, 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