About Question enthuware.jwpv6.2.657 :

All the posts and topics that contain only an error report will be moved here after the error is corrected. This is to ensure that when users view a question in ETS Viewer, the "Discuss" button will not indicate the presence of a discussion that adds no value to the question.

Moderators: Site Manager, fjwalraven

Post Reply
ETS User

About Question enthuware.jwpv6.2.657 :

Post 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.

admin
Site Admin
Posts: 10036
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.jwpv6.2.657 :

Post by admin »

You are right. This has been fixed.

thank you for your feedback!
If you like our products and services, please help us by posting your review here.

Ciprian Mihalache
Posts: 51
Joined: Wed Sep 28, 2011 12:14 pm
Contact:

Re: About Question enthuware.jwpv6.2.657 :

Post by Ciprian Mihalache »

Just a small typo in the question statement: I suppose it is "HTTP", not "HTTM"

admin
Site Admin
Posts: 10036
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.jwpv6.2.657 :

Post by admin »

Thank you, Ciprian! This has been fixed.
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests