• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

doubt in mock regarding body-ontext

 
neetika sharma
Ranch Hand
Posts: 89
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
26.For a tag to accept any valid jsp code as its body, what should be thevalue of <body-content> for this tag's taglib descriptor?
Select 1 correct option.
A.JSP
B.jsp
C.any
D.text
E.The <body-content> subelement itself may be absent.

Answer is "E" option.Can anybody explain why its not "A"
[ January 25, 2007: Message edited by: Neetika Sood ]
 
Ali Gohar
Ranch Hand
Posts: 572
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A and E are correct because the default value for body-content is JSP
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic