Hi,

What's the best way to check constants in jsp using the s:if tag.

I've constants defined in a file like :

public class AppConstants {

    public static final String APPLICATION_CODE = "MYAPP";

    public static final String APPLICATION_VERSION = "1.2";

Now, in the JSP we need to use these constants within an s:if

Currently, i'm using

<s:if test="myapp.appCode == @[EMAIL PROTECTED]">


but this doesn't look clean ; is there a way to get rid of the @
com.abc.util.AppConstants import ?

Thanks,
Joseph

Reply via email to