错误代码如下:
<c:when test=${page.page==1 }>
<li class="active"><a href="javascript:void();" title="首页">首页</a></li>
</c:when>
quote symbol expected:quote symbol就是引号,expected就是期待连起来就是我代码少写引号了;
正确代码如下:
<c:when test=${"page.page==1" }>
<li class="active"><a href="javascript:void();" title="首页">首页</a></li>
</c:when>