I have a question about custom tags body content. In the spec it is said before JSP 2.0, default was JSP. But since it's an invalid value for simple tags, there is no default value.
So what if on the exam a question asks for the behavior of a tag with a body and gives a tld defining the tag with no body-content declared?
The scriptless body-content is said to be a reasonable default if the tag can have a body.
Should we assume it's scriptless? And what about classic tags default? JSP as in previous spec?
The book says that we do not know whether the tag is handled by a Classic tag handler or a Simple tag handler unless we know the class implements Tag interface or SimpleTag interface. We could even completely replace the class to use a SimpleTag without making any changes to the TLD. So, from this I think the default value for body-content in classic tags is also scriptless.