struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Polsakiewicz" <Filip.Polsakiew...@innoface.de>
Subject RE: <logic:equal> with sessionAttributes
Date Tue, 01 Jul 2003 08:56:44 GMT
Thanks. I will try that.

> -----Original Message-----
> From: Nicolas De Loof [mailto:nicolas.deloof@cgey.com]
> Sent: Tuesday, July 01, 2003 10:50 AM
> To: Struts Users Mailing List
> Subject: Re: <logic:equal> with sessionAttributes
> 
> 
> use the "scope" attribute (it is the same for lot's of struts tags)
> 
> <logic:equal name="foo" scope="session" value="bar">
> ...
> </logic:equal>
> 
> http://jakarta.apache.org/struts/userGuide/struts-logic.html#equal
> 
> Notice Struts will automatically look in scopes for you if you 
> don't use scope :
> page -> request -> session -> application
> 
> Nico.
> 
> 
> 
> > Hi,
> > i need to check for the value of a specific session Attribute. 
> I know that i
> > can use <logic:equal> with request-parameters. Now how would i 
> check if a
> > session attribute "foo" equals the value of "bar"?
> > 
> > Thanks Filip
> > 
> > 
> > 
> > 
> 
> 
> ------------------------------------------------------------------
> --------------
> 
> 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 

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


Mime
View raw message