ok.. so you mean I can have scriptlets inside the
tag files and
simple tags when their body-content is declared as tagdependent. But there is no point having scriplets inside because they are just flushed as html when we invoke <jsp:doBody>
They are neither executed in calling JSP nor are in called tag files right?
JSP.8.8 Implicit Objects
Tag library developers writing tag files have access to certain implicit objects
that are always available for use within scriptlets and expressions through
scripting variables that are declared implicitly at the beginning of the tag handler
implementation. All scripting languages are required to provide access to these
objects .......
This line I don't feel implies that you can have scriplets inside a call to a tag file , it is just saying that tag files within themselves can have scripting and have access to scripting variables.
It is like doing this-
mytag.tag
Have you seen any line in specs which says if you have a bodycontent as tagdependent then we can have scripting inside call to tag files and call to simple tags?
I just wanted to confirm that this behaviour is not container specific .