在jsp中想要调用常量类中的属性值方法:
1. 在jsp中导入此常量类 <%@page import="com.Zyp.constant.FlagConstant"%>,然后运用c标签获取属性<%=FlagConstant.ORDERTYPE_NEIZCRK%>即可;
2.直接用@类@属性获取,开发代码例子: <s:if test="#session.positionName==@com.Zyp.constant.FlagConstant@POSITIONNAME_ZONGBU">此条件显示</s:if>