The body of the tag that is a TAG FILE can not have scriptlets.
The body of a simple tag that extends SimpleTagSupport can not have scriptlets, because its body is a JspFragment that does not allow scriptlets. So does this mean this is illegal for a simple tag tld: <body-content>JSP</body-content> ?
What about classic Tag handler that extends TagSupport and BodyTagSupport? Can we put scriptlets in the tag body?