HTML语言中将实体bean中的数字转变为对应汉字的实现方法
修改前效果:
修改后效果:
修改前代码:
修改后代码:

修改后代码如下:
<p size="3" align="center">MIS •
<c:choose>
<c:when test="${partynews.type == '1'}">通知</c:when>
<c:when test="${partynews.type == '2'}">活动</c:when>
<c:when test="${partynews.type == '3'}">奖励</c:when>
<c:when test="${partynews.type == '4'}">任免</c:when>
<c:when test="${partynews.type == '5'}">其他</c:when>
</c:choose>
• 第【${partynews.code}】 号
</p>

浙公网安备 33010602011771号