| Author |
body-content doubt
|
Brijesh shah
Ranch Hand
Joined: Mar 16, 2007
Posts: 88
|
|
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
Joined: Feb 05, 2003
Posts: 4725
|
|
|
Brijesh, please Quote Your Sources.
|
A good workman is known by his tools.
|
 |
Brijesh shah
Ranch Hand
Joined: Mar 16, 2007
Posts: 88
|
|
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
Joined: Sep 18, 2003
Posts: 912
|
|
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.
|
SCJP, SCJD, SCWCD
|
 |
dolly shah
Ranch Hand
Joined: Jun 18, 2007
Posts: 383
|
|
|
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.
|
SCJP-1.5<br />SCWCD-1.4
|
 |
 |
|
|
subject: body-content doubt
|
|
|