The body-content element provides provides information on the content of the body of this tag. This element is primarily intended for use by page composition tools. There are currently three values specified: tagdependent The body of the tag is interpreted by the tag implementation itself, and is most likely in a different �langage�, e.g embedded SQL statements. JSP The body of the tag contains nested JSP syntax empty The body must be empty This element is optional; the default value is JSP
For JSP 1.2, here is an excerpt from the web-jsptaglibrary_1_2.dtd:
This means that body-content attribute is optional.
For JSP 2.0, here is an excerpt from the web-jsptaglibrary_2_0.xsd:
As you can see, and as it is stated in the documentation, the body-content is now mandatory, and the four acceptable values are: tagdependent, JSP, empty, scriptless.
HF says default value for body-content is scriptless. If body-content is mandatory then whats the relevance for a default value as you'll have to type in a value yourself ?
Post by:autobot
My favorite is a chocolate cupcake with white frosting and tiny ad sprinkles.
a bit of art, as a gift, the permaculture playing cards