This week's book giveaway is in the Spring forum.
We're giving away four copies of Spring in Action (5th edition) and have Craig Walls on-line!
See this thread for details.
Win a copy of Spring in Action (5th edition) this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

body-content doubt  RSS feed

 
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
 
pie sneak
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

 
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.
 
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
Boost this thread!