In this solution, I have made some improvements to the original Xg_delayth scheme, so that the first node can also pass the data by clicking. Where the changes are marked with a red word.
<%@ page contenttype= "text/html; charset=gb2312 "language=" java "import=" java.sql.* "errorpage=" "%>"
<%@ page import= "system.*"%>
<%@ page import = "pub.*"%>
<%
int x=check.checkpage (Request, "admin_admindepart_list");
String error= "";
if (x==1) {
Error= "<script>alert (' You have lost the line, need to land again! '); Top.location.href= '.. /login.jsp ' </script> ';
}Else{
if (x==2) {
Error= "<script>alert (' You have no right to enter the page! '); History.back ();</script> ";
}
}
%>
<%=Error%>
<%
if (x!=0) {
return;
}
%>
<! DOCTYPE HTML PUBLIC "-//w 3C//dtd HTML 4.01 transitional//en" "HTTP://WWW.W3.ORG/TR/HTML4/LOOSE.DTD" >
<meta http-equiv= "Content-type" content= "text/html; charset=gb2312 ">
<link href= ". /css/putong.css "type=" Text/css "rel=" stylesheet ">
<title> Untitled Document </title>
<script>
JavaScript Document
//************************************************************************************************************* **********
---function:the define of tree ' s node object
---return:
---Parameters:
---anodeid:the NodeID of the TreeNode
---anodeinner