Java Web Development with Stripes
Subject:   Code typo?
Date:   2007-01-25 11:08:32
From:   garthabrindoid
Is the code for HelloWorldAction in the first code snippet correct? I'm confused about how this part in particular:

private Person person;


public void setPerson(String person) {this.person = person;}
public String getPerson() { return person;}

Judging by the setter and getter, person should be a String and not a Person, right? Or are the getter and Setter wrong?

1 to 1 of 1
1 to 1 of 1