Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Eduardo Cobian's SCWCD Test Q.No: 12

 
Mathew Sam
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 445
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Only web-resource-name in mandatory.Maybe the exam refers to jSP 1.1
 
Nicolas Brasseur
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic