This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes question about deployment descriptor 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 "question about deployment descriptor" Watch "question about deployment descriptor" New topic
Author

question about deployment descriptor

Timber Lee
Ranch Hand

Joined: Oct 14, 2002
Posts: 157
Which are mandatory elements of the web-resouce-collection element?
1) web-resource-name
2) url-pattern
3) http-method
4) auth-constraint
I think 1) web-resource-name is right because of <!ELEMENT web-resource-collection (web-resource-name, description?,
url-pattern*, http-method*)>.
but the answer is 1) and 2), why?


SCJP<br />SCWCD<br />SCEA
Jose Velarde
Ranch Hand

Joined: Sep 11, 2002
Posts: 78
I agree. Only the name identifying a resource, web-resource-name, is required. The element url-pattern is optional.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: question about deployment descriptor
 
Similar Threads
Q 12, Eduardo's mock
Required elements in web-resource-collection
question from the mock exam..
web-resource-collection element
Eduardo Cobian's SCWCD Test Q.No: 12