Meaningless Drivel is fun!
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
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Eduardo Cobian Watch "Eduardo Cobian New topic

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.

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

<a href="" target="_blank" rel="nofollow">BlackBeltFactory Communtiy</a> founder - Building better developers<br /><b>Free</b> courses and mock exams
I agree. Here's the link:
subject: Eduardo Cobian's SCWCD Test Q.No: 12
It's not a secret anymore!