File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Eduardo Cobian's SCWCD Test  Q.No: 12 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 "Eduardo Cobian Watch "Eduardo Cobian New topic
Author

Eduardo Cobian's SCWCD Test Q.No: 12

Mathew Sam
Ranch Hand

Joined: Dec 19, 2001
Posts: 124
Which are mandatory elements of the web-resouce-collection element?
1) web-resource-name
2) url-pattern
3) http-method
4) auth-constraint
Answer is given as 1,2.
Is url-pattern mandatory. DTD says only web-resource-name is mandataory.

regards,
Sam
Vedhas Pitkar
Ranch Hand

Joined: Jan 27, 2001
Posts: 445
Only web-resource-name in mandatory.Maybe the exam refers to jSP 1.1
Nicolas Brasseur
Ranch Hand

Joined: Nov 09, 2001
Posts: 45
Do they mean mandatory due to the DTD or mandatory due to the logic of the web container ?
Because I can't imagine using defining a web resource collection without using a url pattern ...
Nicolas


<a href="http://www.javablackbelt.com/?utm_source=javaranch&utm_medium=signature&utm_campaign=Forum%2BBuzz" target="_blank" rel="nofollow">BlackBeltFactory Communtiy</a> founder - Building better developers<br /><b>Free</b> courses and mock exams
 
Don't get me started about those stupid light bulbs.
 
subject: Eduardo Cobian's SCWCD Test Q.No: 12
 
Similar Threads
Dobt in Security Question
Q 12, Eduardo's mock
Required elements in web-resource-collection
web-resource-collection element
question about deployment descriptor