JSP カスタムタグのライブラリ


例:user タグ
次のコードは、<%=UNID%> パラメータで指定される文書を取得し、「Greetings userName!」を表示します。ここで、userName は lotus.domino.Name オブジェクトで指定されるユーザーまたはサーバー名です。<%=UNID%> パラメータで指定される文書が存在しない場合は、「No document with the UNID UNIDNumber exists」が表示されます。

<domino:document unid="<%= unid %>">
Greetings <domino:user debug="true"/>!
</domino:document>
<domino:nodocument>
No document with the UNID <%=unid%> exists.
</domino:nodocument>

関連項目