• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet Specs - DD explanation

 
Sam Cala
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
In servlet specs, while describing elements of DD, for mentioning any sub element , Sun has used 3 types of symbols along with them : '+' , '*' , '?'. There is also an sub-element without any symbol. Can anyone pls let me know what they mean ? Thanks.
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
types of symbols along with them : '+' , '*' , '?'. There is also an sub-element without any symbol.
These are the standard (XML?) symbols, each of which specifices the cardinality of that element.
"+": One or more
"*": Zero or more
"?": Zero or One
"no symbol": exactly one, mandatory.
regds.
- madhav
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic