Page 1 of 1

About Question enthuware.jwpv6.2.657 :

Posted: Mon Oct 17, 2011 9:12 am
by ETS User
The second option is correct too:
@ServletSecurity(value=@HttpConstraint(rolesAllowed = "employee"), httpMethodConstraints = {
@HttpMethodConstraint(value = "PUT", rolesAllowed = "manager")
})
It's explanation is incorrect.

JLS - Chapter 9 Interfaces
http://192.9.162.55/docs/books/jls/thir ... faces.html
Discussion
In other words, it is permissible to omit the curly braces when a single-element array is to be associated with an array-valued annotation type element.

Re: About Question enthuware.jwpv6.2.657 :

Posted: Sat Oct 22, 2011 6:58 am
by admin
You are right. This has been fixed.

thank you for your feedback!

Re: About Question enthuware.jwpv6.2.657 :

Posted: Sat Dec 10, 2011 4:31 pm
by Ciprian Mihalache
Just a small typo in the question statement: I suppose it is "HTTP", not "HTTM"

Re: About Question enthuware.jwpv6.2.657 :

Posted: Sun Dec 18, 2011 8:31 am
by admin
Thank you, Ciprian! This has been fixed.