📄 index.jsp
字号:
<%@page language="java" contentType="text/html; charset=GBK"%>
<%@taglib uri="/WEB-INF/tag.tld" prefix="tag"%>
<%@ page import="cn.com.juneng.system.common.taglib.tree.impl.SysMenuTreeService" %>
<html>
<head>
<link href="<%=request.getContextPath()%>/css/commonPage.css" rel="stylesheet" type="text/css">
<style>
<!--
a:link {
text-decoration:none;
}
a:hover {
text-decoration:none;
}
a:visited {
text-decoration:none;
}
a:active {
text-decoration:none;
}
a:visited:hover {
text-decoration:none;
}
-->
</style>
</head>
<body style="padding:0 0 0 0; margin:0 0 0 0">
<%
String menuId = request.getParameter("menuId");
String url = "";
if(menuId!=null){
url = request.getContextPath()+"/system/menu/SysMenuAction.jsp?parentId="+menuId;
}
%>
<table width='100%' height='99%'>
<tr bgcolor='#F0FBFF'>
<td style="vertical-align:top" width='150'>
<div align="left">
<tag:tree treeName="系统菜单" treeService="<%=new SysMenuTreeService() %>"/>
</div>
</td>
<td valign='top'>
<iframe id="frame1" name="frame1" FRAMEBORDER=0
src="<%=url%>"
width="100%" height="100%">
</iframe>
</td>
</tr>
</table>
</body>
<script>
function selectNode(){
var node = atree.getSelected();
var value = node.value;
if(value==null||value=="undefined"){
value = "0";
}
frame1.location.href = "<%=request.getContextPath() %>/system/menu/SysMenuAction.jsp?parentId="+value;
}
</script>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -