[java ee programming] j2ee - 4018 error code question

2009-11-16 Thread Moria Shebsovich
Hello, I have question about the 4018 j2ee - websecurity homework. The homework requires 1. Add the following set of concrete username/password (principals) and concrete groups to the file-based security realm through the admin console of GlassFish App Server - DONE 2. Modi

[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(); List persons =

[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 Ap