Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
jsp を使用すると、次を使用してログインしたプリンシパルを簡単に印刷できます。<%= request.getUserPrincipal() %>今度は、JSF 2.0 + Facelets を使用して同じことを行いたいと思います。どうやってするか?私はしばらくの間試みてきましたが、これまでのところ成功していません。
<%= request.getUserPrincipal() %>
事前に送信します。
<h:outputText value="#{request.getUserPrincipal()}" />現在のユーザーを表示するだけの場合は、JSF 2.0 で動作するはずです。
<h:outputText value="#{request.getUserPrincipal()}" />