ループ タグとネストされたタグを含むカスタム taglib (1.2) を作成しています。最初のループ タグ内に、後で JSP で同じループ タグがさらに出現するかどうかを知る方法があるかどうかを知っている人はいますか?
例 :
<tt:myLoopTag>
<%--
Normally, if "myLoopTag" was the only one tag in the JSP,
I would do some stuff in the doEndTag method
--%>
</tt:myLoopTag>
...
<tt:myLoopTag>
<%--
But I have a second "myLoopTag" here, so I would like to do
some stuff in the doEndTag method of this tag, not in the first one
--%>
</tt:myLoopTag>
私が十分に明確であることを願っています..
注意: 残念ながら、この投稿は役に立たないと思います...
ありがとう !