This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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.