Women in Technology

Hear us Roar



Article:
  Java Web Development with Stripes
Subject:   Code typo?
Date:   2007-03-13 22:39:37
From:   keytasks
Response to: Code typo?

I tried the correction - you suggested though I'm getting 'cannot find symbol error' in my IDE editor on the following line of code - as well as the getter and setters



private Person person;



The article looks great - I'm hoping to get the article working with Spring1.4.2 with NetBeans5.5



Thanks Derek





Main Topics Oldest First

Showing messages 1 through 1 of 1.

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

    Here is the code for the Person class:

    package com.meagle.blog.domain;

    /**
    * Simple Person object
    *
    * User: meagle
    * Date: Jan 7, 2007
    * Time: 8:55:47 PM
    */
    public class Person {

    private int id;
    private String firstName;
    private Integer age;

    public int getId() {
    return id;
    }

    public void setId(int id) {
    this.id = id;
    }

    public String getFirstName() {
    return firstName;
    }

    public void setFirstName(String firstName) {
    this.firstName = firstName;
    }

    public Integer getAge() {
    return age;
    }

    public void setAge(Integer age) {
    this.age = age;
    }
    }