You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-user@tomcat.apache.org by "Karr, David" <Da...@wamu.net> on 2003/11/03 21:13:39 UTC
RE: out> unable to find value
> -----Original Message-----
> From: Morrow, Steve D. [mailto:SMorrow@fhlbdm.com]
>
> I have a session-scoped bean structured (in part) as follows:
>
> public class Customer {
> public Integer id;
> public String name;
> public Integer getId() {
> return id;
> }
> public String getName() {
> return name;
> }
> }
>
> In the JSP, <c:out value="${customer.name}" /> works as
> expected. However,
> <c:out value="${customer.id}" /> does not - it throws an
> error that the JSP
> is "unable to find a value for "id" in object..." I added the
> following
Did you try changing "id" to be a string property, instead of Integer?
---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org