借鉴百度地图javascriptAPI,http://lbsyun.baidu.com/index.php?title=jspopular&qq-pf-to=pcqq.c2c
利用jsp标签属性<c:条件>,操作显示
<div id="sidebar-scrollTop"> <ul class="nav-list"> <c:if test="${!empty oper}"> <c:forEach items="${oper}" var="funmenu"> <c:if test="${funmenu.mtype==0 && empty funmenu.gren}"> <c:if test="${!empty funmenu.content }"> <li> <ul> <li><a class="onebtn" id="${funmenu.id}">${funmenu.name}</a></li> </ul> </li> </c:if>