Hi,

I am using the struts if tag and want to use a constant from another
class inside the if test condition.
How can I do it?

The relevant code snippet is:
....
<%@ taglib prefix="s" uri="/struts-tags" %>
<[EMAIL PROTECTED] import="com.example.Account"%>
....
<s:if test="status == Account.ACCOUNT_STATUS_ACTIVE" >
    Display message here.
</s:if>


The "status" is a property of my action.

Thanks,
SM

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

Reply via email to