It's not a secret anymore!
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes body-content default value Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "body-content default value" Watch "body-content default value" New topic

body-content default value

shan xiao

Joined: Mar 12, 2005
Posts: 6
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

Joined: Jun 27, 2003
Posts: 87
Please refer the JSP spec section 8.5

"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."


Kejal<br />
Kumar J
Ranch Hand

Joined: Feb 13, 2005
Posts: 35

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

Please clarify...

Kumar V

With Regards,<br />Kumar J
sam siu

Joined: Mar 03, 2005
Posts: 4

Shan said it is NOT a SimleTag so value JSP is also valid. I guess it defaults to JSP in this case.
Gavin Zhao

Joined: Apr 29, 2004
Posts: 11

if it is NOT a SimleTag so default value "JSP"!
if it is a SimleTag so value "JSP" is illegal!

Impossible Is Nothing!
I agree. Here's the link:
subject: body-content default value
It's not a secret anymore!