According to HF Page-482, The possible values for body-content are empty/tagdependent/scriptless/JSP.
If i make body-content to be JSP in my .tld file, then my understanding says that I can have scriptlet in the body of my tag.
But When I make body-content to be JSP in my tld file, then I ger following exception
JasperException: The TLD for the class foo.AdviceTagHandler specifies an invalid body-content (JSP) for a SimpleTag.#
It does not even identify JSP body content.
My AdviceTagHandler extends SimpleTagSupport.
Can you please tell me how can I have scriptlets in the body of my tag.