my dog learned polymorphism*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Contradiction in servlet spec Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Contradiction in servlet spec" Watch "Contradiction in servlet spec" New topic

Contradiction in servlet spec

Russell Tao

Joined: Dec 13, 2004
Posts: 12
I found there was a contradiction in servlet spec(pdf),
at p313: <!ELEMENT security-role-ref (description?, role-name, role-link)>
at p336: <!ELEMENT security-role-ref (description?, role-name, role-link?)>

Wondering whether role-link is required or not in security-role-ref?
Narendra Dhande
Ranch Hand

Joined: Dec 04, 2004
Posts: 950

at p336: <!ELEMENT security-role-ref (description?, role-name, role-link?)>

The <role-link> is optional.


Narendra Dhande
SCJP 1.4,SCWCD 1.4, SCBCD 5.0, SCDJWS 5.0, SCEA 5.0
It is sorta covered in the JavaRanch Style Guide.
subject: Contradiction in servlet spec
Similar Threads
<security-role-ref> comes under which tag??
HFEJB - Page 598, Q11
isUserInRole() doubt
Trouble Shooting Deployment
The Order of the security-role Element in DTD