HTML语言中将实体bean中的数字转变为对应汉字的实现方法

 修改前效果:

修改后效果:

修改前代码:

修改后代码:

 

修改后代码如下:

<p size="3" align="center">MIS&nbsp;•&nbsp;
  <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>
  &nbsp;•&nbsp;第【${partynews.code}】&nbsp;号
</p>

posted @ 2016-06-15 10:22  别人都说我牛  阅读(374)  评论(0)    收藏  举报