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
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
Hi all
I'm using spring with velocity to sending email.
Program works fine when those data needed passing in
String type but I cannot access those data member when
passing as an object.
At servlet, object add into hashmap model and added
into VelocityEngineUtil
Person p1 = new Person();
p1.setFi