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. Code typo?
    2007-01-25 11:41:14  mjeagle [View]

    • Code typo?
      2007-03-13 22:39:37  keytasks [View]

      • Code typo?
        2007-03-14 05:46:50  mjeagle [View]

1 to 1 of 1