wood burning stoves*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Default value for body-content Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Default value for body-content" Watch "Default value for body-content" New topic

Default value for body-content

Jayashree Mohan
Ranch Hand

Joined: Nov 23, 2005
Posts: 37
What is the Default value for body-content element of tag library descriptor? Is it JSP/scriptless? Am confused?

What is the default value for body-content for Simple and Custom Tag Handlers?
Kalpana Mahareddy

Joined: Apr 05, 2006
Posts: 3
hi jayashree,

according to specs and whizlabs the default value for Simple tags is implementation dependent.
that means there is no default value defined for simple tags in JSP 2.0 version.
a reasonable value would be scriptless, but it's not really defined.

hope this helps...
Rodrigo Alvarez
Ranch Hand

Joined: Apr 10, 2006
Posts: 75

that means there is no default value defined for simple tags in JSP 2.0 version.

That's right. The element <body-content>...</body-content> is mandatory in the <tag> element of the taglib, if it's not there the DD will not parse (so there's no need for a dfault value, it would never be used).


It is a mistake to think you can solve any major problems just with potatoes.<br />--Douglas Adams
I agree. Here's the link: http://aspose.com/file-tools
subject: Default value for body-content
Similar Threads
question about <body-content>
doubt in default in simple tags..
what is defalut value of Custom tag body-content
default value of body-content
body content