struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Musachy Barroso" <musa...@gmail.com>
Subject Re: Object put in HttpSession can't be found by S2
Date Fri, 15 Aug 2008 20:31:47 GMT
use "#session.skillsFound" or "#session[''skillsFound']"

musachy

On 8/15/08, Ylva Degerfeldt <ylva.degerfeldt@gmail.com> wrote:
> Hi!
>
> Shouldn't Struts 2 be able to find objects stored at session level
> just by using the name?
>
> In my action I put a Set called "skillsFound" in the HttpSession. Then
> I want to access it (and iterate through it) from a jsp, but this line
> of code gives a False result:
>
> <s:if test = "skillsFound != null">
>
> Is there something I've forgotten to do or have I misunderstood things?
>
> Thanks in advance!
>
> /Ylva
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message