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.