posted 19 years ago
Hello,
Yes it is legal. The rule is:
You can set <body-content> to JSP only for the classic custom tags (which implement the Tag interface) and then You can use scriptlet in the body of the tag.
!But You can not set <body-content> to JSP for custom tags which implement the SimpleTag interface and for tag files. For these tags, the legal options are: empty, tagdependent, scriptless.
Gabriel