wood burning stoves 2.0*
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
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Eduardo Cobian's SCWCD Test Q.No: 12