[java ee programming] Java Calendar cannot handle DST in a correct way

2009-11-16 Thread Marcus
Hi I am trying to get to grips with Java Calendar class (and the TimeZone class). I have noted some very weird behaviour though: Try the following: 1) Bring up the Date and Time Properties window in Windows XP and select the timezone (GMT -03:00) Montevideo. Leave the DST box unchecked, click

[java ee programming] Re: Homework 4006

2009-11-16 Thread Bob Santos
Hi Emmanuel, You did not set persons in init() instead you added a person object with person attribute name in the servletContext. And usually you don't put those in init(). persons should be a List or Map of items. What you could have done is this: Person person = new Person(); ListPerson