Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

body-content default value

 
shan xiao
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if the tag is Not a simpleTag, it should have four possible values:
empty,scriptless, tagdependent, JSP, which one is the default value if <body-content> is not present?
 
Kejal Shah
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Please refer the JSP spec section 8.5

quote:
"body-content (optional) Provides information on the content of the body of
this tag. Can be either empty, tagdependent, or scriptless. A
translation error will result if JSP or any other value is used.
Defaults to scriptless."

HTH
Kejal
 
Kumar J
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

So,Kejal you mean to say irrespective of the type of tag handler...simple or classic the default is scriptless ?

Please clarify...

Kumar V
 
sam siu
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Shan said it is NOT a SimleTag so value JSP is also valid. I guess it defaults to JSP in this case.
 
Gavin Zhao
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

if it is NOT a SimleTag so default value "JSP"!
if it is a SimleTag so value "JSP" is illegal!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic