Accessing value of a session bean on a JSF page
- From: laredotornado <laredotornado@xxxxxxxxxxx>
- Date: Wed, 9 Jul 2008 07:59:06 -0700 (PDT)
Hi,
I was hoping someone could help me optimize some code on my JSF page,
since I figure that's the point of JSF. Here's what I haev
SSOSessionBean ssoSessionBean = null;
ssoSessionBean = (SSOSessionBean)
session.getAttribute(IMConstants.SSOSession);
String userName = ssoSessionBean.getUserName();
out.println(userName);
Is is possible to condense this down to a single line of code? What
changes, if any, would I have to make to my faces-config.xml file?
Thanks, - Dave
.
- Follow-Ups:
- Re: Accessing value of a session bean on a JSF page
- From: conrad
- Re: Accessing value of a session bean on a JSF page
- Prev by Date: Re: About ConcurrentAccessException handling
- Next by Date: Re: Divisibility of a java.math.BigInteger object
- Previous by thread: Overriding methods with parent object parameters
- Next by thread: Re: Accessing value of a session bean on a JSF page
- Index(es):