Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

body-content doubt

 
Brijesh shah
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For a tag to accept any valid jsp code as its body, what should be the value 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...Correct

In above i think "B" should be the answer, but i dont understand as answer given E ...
Kindly explain on this.

Thanks;
Brijesh
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Brijesh, please Quote Your Sources.
 
Brijesh shah
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Brijesh shah:
I got this question from mock exam of web page
Question No.>>26.For a tag to accept any valid jsp code as its body, what should be the value 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...Correct

In above i think "B" should be the answer, but i dont understand as answer given E ...

Kindly explain on this.

Thanks;
Brijesh
 
Mihai Radulescu
Ranch Hand
Posts: 918
IntelliJ IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

The body-content is an optional, and can accept : scriptless, JSP, tagdependent and empty. The deftaul value is JSP.
so A and E are correct.
 
dolly shah
Ranch Hand
Posts: 383
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Default value of body-content was "JSP" in SCWCD version 1.3, as per SCWCD 1.4 version default value of body-content is "empty". Correct me if I am wrong.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic