File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes  Question ID: 1040752413078 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark " Question ID: 1040752413078 " Watch " Question ID: 1040752413078 " New topic

Question ID: 1040752413078

Bhushan Jawle
Ranch Hand

Joined: Nov 22, 2001
Posts: 249
Your web application wants to make use of a role named 'manager', which is defined in the servlet container.
Which of the following XML fragments must occur in the deployment descriptor of your web application?
<role name='manager' />
I think the answer is 4 but given answer is 2 , I don't know why , am I missing something ?
Mark Howard
Ranch Hand

Joined: Feb 14, 2001
Posts: 285
Hi Bhushan
Option 4 is correct. I'm assuming this question comes from JWebPlus? There is some errata in some of the questions, and it may be worth bringing it to the author's attention.
Bhushan Jawle
Ranch Hand

Joined: Nov 22, 2001
Posts: 249
Thanks Mark.
Yes the question is from JWebplus. I posted it on JDiscuss as well but have had no response.
It is sorta covered in the JavaRanch Style Guide.
subject: Question ID: 1040752413078
Similar Threads
What are the possible parent element of role-name?
Q 24: Javaranch Mock exam.....
security-role question
form-login-page tag and security-role tag
Doubt regarding request.isUserInRole()