Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

question about deployment descriptor

 
Timber Lee
Ranch Hand
Posts: 157
  • 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
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?
 
Jose Velarde
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I agree. Only the name identifying a resource, web-resource-name, is required. The element url-pattern is optional.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic