That works... thanks!
----- Original Message -----
From: "Henri Yandell" <[EMAIL PROTECTED]>
To: "Tag Libraries Users List" <[EMAIL PROTECTED]>
Cc: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Sunday, March 02, 2003 3:09 PM
Subject: Re: c:out
>
> I'm just guessing, based on frequent other answers to the list, but have
> you tried:
>
>
${sessionScope['com.symbol.mobilecommerce.analysis.SESSION_USER'].firstName}
>
>
> Hen
>
> On Sun, 2 Mar 2003, Sloan Seaman wrote:
>
> > I have a variable in the session named:
> > com.symbol.mobilecommerce.analysis.SESSION_USER
> >
> > I want to get the object via c:out and use it in a JSP page.
> > When I have the variable just named SESSION_USER it works fine.
> > Example (note core:out = c:out)
> > Greetings
> > <core:out value="${sessionScope.SESSION_USER.firstName}"/>
> > <core:out value="${sessionScope.SESSION_USER.lastName}"/>.
> >
> > But if I try:
> > Greetings
> > <core:out
> >
value="${sessionScope.com.symbol.mobilecommerce.analysis.SESSION_USER.firstN
> > ame}"/>
> > <core:out
> >
value="${sessionScope.com.symbol.mobilecommerce.analysis.SESSION_USER.lastNa
> > me}"/>.
> >
> > It doesn't work.
> >
> > I know this is because c:out is trying to call the object com and then
the
> > getter symbol and so on.
> >
> > How do I get around this so that it works?
> >
> > Thanks!
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]