jsp页面用el表达式获取枚举的code
<c:set var="D_BUSINESS" value="<%=DeptEnum.D_BUSINESS%>"/>
otherType="${D_BUSINESS.code}"
<c:set var="D_BUSINESS" value="<%=DeptEnum.D_BUSINESS%>"/>
otherType="${D_BUSINESS.code}"
转载于:https://www.cnblogs.com/mengfanrong/p/5338402.html