(request.getParameter(" _mid") 返回值总为空)
// An highlighted block
<div class="wu-sidebar" data-options="region:'west',split:true,border:true,title:'导航菜单'">
<div class="easyui-accordion" data-options="border:false,fit:true">
<c:forEach items="${topMenuList }" var="topMenu">
<div title="${topMenu.name }" data-options="iconCls:'${topMenu.icon }'" style="padding:5px;">
<ul class="easyui-tree wu-side-tree">
<c:forEach items="${secondMenuList }" var="secondMenu">
<c:if test="${secondMenu.parentId == topMenu.id }">
<li iconCls="${secondMenu.icon }"><a href="javascript:void(0)" data-icon="${secondMenu.icon }" data-link="${secondMenu.url }?_mid=${secondMenu.id }" iframe="1">${secondMenu.name }</a></li>
</c:if>
</c:forEach>
</ul>
</div>
</c:forEach>
</div>
</div>
```java
//后台
String mid = request.getParameter("_mid");
System.out.println(mid);
if(!StringUtils.isEmpty(mid)) {
List<Menu> allThirdMenu = MenuUtil.getAllThirdMenu((List<Menu>)request.getSession().getAttribute("userMenus"),Long.valueOf(mid));
request.setAttribute("thirdMenuList",allThirdMenu);
}
return true;
}
通过***(request.getParameter(" _mid")*** 获取的值总是null ,这个问题要如何解决,请哪位大神帮忙解答一下。十分感谢!