On Tue, Oct 18, 2011 at 12:09 PM, Willis C White <[email protected]> wrote:
>
> I still have the problem. Fix one thing
>
> these two line where wrong
>
> info.Firstname = document.getElementById("Firstname").value;
> info.Lastname = document.getElementById("Lastname").value;
>
> should be FirstName and LastName (not Firstname and Lastname)
>
> are the constructors I have in my earlier post, wrong?

Yes, see [1]... default no arg constructor and getters and setters for
all the properties

[1] http://en.wikipedia.org/wiki/JavaBean

--
Luciano Resende
http://people.apache.org/~lresende
http://twitter.com/lresende1975
http://lresende.blogspot.com/

Reply via email to