<s:if>?

> -----Original Message-----
> From: red phoenix [mailto:[EMAIL PROTECTED]
> Sent: Sunday, December 17, 2006 8:26 PM
> To: Struts Users Mailing List
> Subject: <logic:present> in struts2
> 
> I want to realize <logic:present> in Struts2,when session attribute is
> exist,it show "login",if it is not exist,it shows "not login",like
> follows:
> <logic:present name="test">
> login
> </logic:present>
> <logic:notPresent name="test">
> not login
> </logic:notPresent>
> 
> I don't know how to use <logic:present> in struts2,because I don't
> find
> <logic:present> in struts2,anyone could tell me how to do it and give
> me
> some examples?
> 
> Thanks.

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

Reply via email to