Re: Problem when accessing data member

2007-07-16 Thread wong wayne
your guess is correct, I haven't declare Person as public, thanks for your help regards wayne --- Nathan Bubna <[EMAIL PROTECTED]> wrote: > my guess is that either the getFirstName() method or > else the whole > Person class are not declared as public. > > Velocity will only give access to publ

Re: Problem when accessing data member

2007-07-16 Thread Nathan Bubna
my guess is that either the getFirstName() method or else the whole Person class are not declared as public. Velocity will only give access to public methods in public classes. On 7/15/07, wong wayne <[EMAIL PROTECTED]> wrote: Hi all I'm using spring with velocity to sending email. Program wor