oh yea, and struts uses Long and Double but it should be smart enough to
figure out what you want.

Savan Thongvanh
Berkley Technology Services
515.278.7725


                                                                                       
                                                      
                      "Karr, David"                                                    
                                                      
                      <[EMAIL PROTECTED]        To:       Tag Libraries Users List 
<[EMAIL PROTECTED]>                          
                      net>                     cc:                                     
                                                      
                                               Subject:  RE: out> unable to find value 
                                                      
                      11/03/2003 02:13                                                 
                                                      
                      PM                                                               
                                                      
                      Please respond to                                                
                                                      
                      "Tag Libraries                                                   
                                                      
                      Users List"                                                      
                                                      
                                                                                       
                                                      
                                                                                       
                                                      




> -----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]





CONFIDENTIALITY NOTICE: This e-mail and the transmitted documents contain
private, privileged and confidential information belonging to the sender.
The information therein is solely for the use of the addressee.  If your
receipt of this transmission has occurred as the result of an error, please
immediately notify us so we can arrange for the return of the documents.
In such circumstances, you are advised that you may not disclose, copy,
distribute or take any other action in reliance on the information
transmitted.



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

Reply via email to