> -----Original Message-----
> From: Morrow, Steve D. [mailto:[EMAIL PROTECTED] 
> 
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to