<%@ page contentType="text/html; charset=gb2312" language="java"%> <%@ page language="java" import="model.setup.menutree.MenuTree" %> <% String nodeID = null; String buildSelf = "false"; String isPublishStr = request.getParameter("isPublish") == null ? "false" : request.getParameter("isPublish"); //boolean ispublish = Boolean.valueOf(isPublishStr); boolean ispublish = isPublishStr.equals("true")?true:false; if(request.getParameter("nodeID")!=null){ nodeID=request.getParameter("nodeID"); nodeID = nodeID.equals("") ? null:nodeID; buildSelf=request.getParameter("buildSelf"); } //System.out.println("nodeID = " + nodeID ); //System.out.println("buildSelf = "+buildSelf); //System.out.println("ispublish = "+ispublish); MenuTree myTree = new MenuTree(request.getContextPath(),"confCollection",ispublish); myTree.buildTree(out,nodeID,buildSelf); %>