struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Gainty <mgai...@hotmail.com>
Subject RE: Object put in HttpSession can't be found by S2
Date Fri, 15 Aug 2008 21:06:56 GMT

bookmark this page!
http://struts.apache.org/2.x/docs/accessing-application-session-request-objects.html

Martin 
______________________________________________ 
Disclaimer and confidentiality note 
Everything in this e-mail and any attachments relates to the official business of Sender.
This transmission is of a confidential nature and Sender does not endorse distribution to
any party other than intended recipient. Sender does not necessarily endorse content contained
within this transmission. 


> Date: Fri, 15 Aug 2008 16:31:47 -0400
> From: musachy@gmail.com
> To: user@struts.apache.org
> Subject: Re: Object put in HttpSession can't be found by S2
> 
> 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
> 

_________________________________________________________________
Get ideas on sharing photos from people like you.  Find new ways to share.
http://www.windowslive.com/explore/photogallery/posts?ocid=TXT_TAGLM_WL_Photo_Gallery_082008
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message