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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to