📄 treemenu2.jsp
字号:
<%@ page import="net.sf.jsptree.example.TestFactory,
net.sf.jsptree.skin.AbstractSkin,
net.sf.jsptree.*"%>
<%@ taglib uri="http://jsptree.sourceforge.net/jsptree.tld" prefix="sf"%>
<%-- Layout component parameters : title, header, menu, body, footer --%>
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<meta http-equiv="Cache-Control" content="no-cache">
<title>JSP Tree Example</title>
<link rel="stylesheet" href="<%=request.getContextPath()%>/jsptree-example.css" type="text/css">
</HEAD>
<BODY marginheight="0" MARGINWIDTH="0" topmargin="0" leftmargin="0" border="0">
<%--HEADER TABLE --%>
<TABLE border="0" CELLPADDING="0" CELLSPACING="0" WIDTH="800">
<jsp:include page="header.jsp" />
</TABLE>
<%--MAIN TABLES--%>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="800" HEIGHT="100%" VALIGN="TOP">
<TR>
<%--LEFT TABLE--%>
<TD BGCOLOR="#FFFFFF" WIDTH="20%" HEIGHT="100%" VALIGN="TOP">
<%
String imagePath = request.getContextPath()+"/imgs/tree/menu/dark-blue/";
%>
<sf:JSPTree name="sharedTree"
xtree="net/sf/jsptree/example/xmlTree.xml"
templatePath="net/sf/jsptree/example/template/menu/"
startAtDepth="0"
imagesPath="<%=imagePath%>"
shareTreeStructure="true"
skin="<%=AbstractSkin.MENU_SKIN%>" />
</TD>
<%--RIGHT TABLE--%>
<TD BGCOLOR="#D1CEDF" HEIGHT="100%" VALIGN="TOP" WIDTH="80%">
<jsp:include page="body.jsp" />
</TD>
</TR>
</TABLE>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -