How to dispaly a value set in session scope using JSF tag

Hi Guys,is it possible to display a session value using a JSF tag? for instance i have session.setattribute("user""myname");we can easily get this value using JSTL. But is there any way to get using any JSF tag like <h:outputText>?Regards,A.
[296 byte] By [Ananth.duraia] at [2007-11-27 7:31:37]
# 1

You can do this in two ways. First you could explicitly reference the session:

<h:outputText value="#{session.user}" />

Or you could use the fact that the expression evaluator looks in the session after looking in the request scope:

<h:outputText value="#{user}" />

RaymondDeCampoa at 2007-7-12 19:11:52 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
Hi,It's working.. Thank youRegards,A.
Ananth.duraia at 2007-7-12 19:11:52 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...