📄 node_005fview_jsp.java
字号:
package org.apache.jsp.pages.LeftMenu.km;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class node_005fview_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static java.util.List _jspx_dependants;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fs_005fform_005fname_005fmethod;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fs_005fproperty_005fvalue_005fnobody;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fs_005fiterator_005fvalue_005fstatus;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fs_005fif_005ftest;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fs_005felse;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fs_005fform_005fname_005faction;
public Object getDependants() {
return _jspx_dependants;
}
public void _jspInit() {
_005fjspx_005ftagPool_005fs_005fform_005fname_005fmethod = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005fs_005fproperty_005fvalue_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005fs_005fiterator_005fvalue_005fstatus = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005fs_005fif_005ftest = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005fs_005felse = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005fs_005fform_005fname_005faction = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
}
public void _jspDestroy() {
_005fjspx_005ftagPool_005fs_005fform_005fname_005fmethod.release();
_005fjspx_005ftagPool_005fs_005fproperty_005fvalue_005fnobody.release();
_005fjspx_005ftagPool_005fs_005fiterator_005fvalue_005fstatus.release();
_005fjspx_005ftagPool_005fs_005fif_005ftest.release();
_005fjspx_005ftagPool_005fs_005felse.release();
_005fjspx_005ftagPool_005fs_005fform_005fname_005faction.release();
}
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, ServletException {
JspFactory _jspxFactory = null;
PageContext pageContext = null;
HttpSession session = null;
ServletContext application = null;
ServletConfig config = null;
JspWriter out = null;
Object page = this;
JspWriter _jspx_out = null;
PageContext _jspx_page_context = null;
try {
_jspxFactory = JspFactory.getDefaultFactory();
response.setContentType("text/html; charset=UTF-8");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write("\r\n");
out.write("\r\n");
String cpath=request.getContextPath();
out.write("\r\n");
out.write("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\r\n");
out.write("<html>\r\n");
out.write("\t<head>\r\n");
out.write("\r\n");
out.write("\t\t<script src=\"");
out.print(cpath);
out.write("/js/calendar.js\"></script>\r\n");
out.write("\t\t<link href=\"");
out.print(cpath);
out.write("/style/css_common1.css\" rel=\"stylesheet\"\r\n");
out.write("\t\t\ttype=\"text/css\" />\r\n");
out.write("\t\t<link href=\"");
out.print(cpath);
out.write("/style/mian.css\" rel=\"stylesheet\" type=\"text/css\" />\r\n");
out.write("\t\t<script src=\"");
out.print(cpath);
out.write("/js/page.js\"></script>\r\n");
out.write("\t\t<script src=\"");
out.print(cpath);
out.write("/js/jquery126.js\"></script>\r\n");
out.write("\t\t<script src=\"");
out.print(cpath);
out.write("/js/effect.js\"></script>\t\t\t\t\r\n");
out.write("\t</head>\r\n");
out.write("\t<script language=\"JavaScript\">\r\n");
out.write("\t $(function(){\r\n");
out.write("\t\t \taddInputEffect();\r\n");
out.write("\t\t });\t\r\n");
out.write("\tfunction refresh(treeId){\r\n");
out.write("\t\tdocument.form.action=\"");
out.print(cpath);
out.write("/km/listkmnodesbydirid.action?method=view\";\r\n");
out.write("\t\tdocument.form.parentId.value=treeId;\r\n");
out.write("\r\n");
out.write("\t\tgosubmit(document.form);\r\n");
out.write("\t}\r\n");
out.write("\t\r\n");
out.write("\tfunction updateStatus(para,treeId){\r\n");
out.write("\t\twindow.location.href=\"");
out.print(cpath);
out.write("/km/updatekmnodestatus.action?isValid=\"+para+\"&treeId=\"+treeId; \r\n");
out.write('\r');
out.write('\n');
out.write("\r\n");
out.write("\t}\r\n");
out.write("\t\r\n");
out.write("\tfunction myopenAddWindows(url,name,id,obj){\r\n");
out.write("\t\tvar parentId=document.form.parentId.value;\r\n");
out.write("\t try{\r\n");
out.write("\t\twindow.top.frames['left'].openWindows(url+parentId,name,id,window); \r\n");
out.write("\t }catch(er){\r\n");
out.write("\t alert(er.name+\":\"+er.message);\r\n");
out.write("\t }\r\n");
out.write("\t}\r\n");
out.write("\t\r\n");
out.write("\tfunction myopenWindows(url,name,id,obj){\r\n");
out.write("\t try{\r\n");
out.write("\t\twindow.top.frames['left'].openWindows(url,name,id,window); \r\n");
out.write("\t }catch(er){\r\n");
out.write("\t alert(er.name+\":\"+er.message);\r\n");
out.write("\t }\r\n");
out.write("\t}\r\n");
out.write("\t\r\n");
out.write("\tfunction check(a){\r\n");
out.write("\t\tif(document.getElementById('returnsign').value==1){\r\n");
out.write("\t\t\talert(\"成功启用该知识点!\");\r\n");
out.write("\t\t}else if(document.getElementById('returnsign').value==2){\r\n");
out.write("\t\t\talert(\"成功废弃该知识点!\");\r\n");
out.write("\t\t}else if(a==3){\r\n");
out.write("\t\t\talert(\"移动知识点成功!\");\r\n");
out.write("\t\t}\r\n");
out.write("\t}\r\n");
out.write("\t\r\n");
out.write("\tfunction movenode(treeId){\r\n");
out.write("\t\twindow.open(\"");
out.print(cpath);
out.write("/km/showmovekmnode.action?treeId=\"+treeId, \"\", \"height=350, width=300, toolbar=atmo , menubar=no, scrollbars=no, resizable=no, location=no, status=no\");\r\n");
out.write("\t}\r\n");
out.write("\t\r\n");
out.write("\tfunction move_refresh(a){\r\n");
out.write("\t\t\tcheck(a)\r\n");
out.write("\t\t\tdocument.form.returnsign.value=a;\r\n");
out.write("\r\n");
out.write("\t\t\tvar parentId=document.form.parentId.value;\r\n");
out.write("\t\t\tparent.frames['kmtreedir'].checked(parentId);\r\n");
out.write("\t}\r\n");
out.write("\t\r\n");
out.write("\t</script>\r\n");
out.write("<style>\r\n");
out.write("form{margin:0; padding:0;}\r\n");
out.write("</style>\r\n");
out.write("\r\n");
out.write("<body style=\"margin:0px; padding:0px; background:#EAF3FF\" onload=\"check(this)\">\r\n");
out.write("<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" class=\"title\">\r\n");
out.write(" <tr>\r\n");
out.write(" <td>知识点浏览</td>\r\n");
out.write(" </tr>\r\n");
out.write("</table>\r\n");
out.write("\t\t");
// s:form
org.apache.struts2.views.jsp.ui.FormTag _jspx_th_s_005fform_005f0 = (org.apache.struts2.views.jsp.ui.FormTag) _005fjspx_005ftagPool_005fs_005fform_005fname_005fmethod.get(org.apache.struts2.views.jsp.ui.FormTag.class);
_jspx_th_s_005fform_005f0.setPageContext(_jspx_page_context);
_jspx_th_s_005fform_005f0.setParent(null);
_jspx_th_s_005fform_005f0.setMethod("post");
_jspx_th_s_005fform_005f0.setName("form");
int _jspx_eval_s_005fform_005f0 = _jspx_th_s_005fform_005f0.doStartTag();
if (_jspx_eval_s_005fform_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
if (_jspx_eval_s_005fform_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
out = _jspx_page_context.pushBody();
_jspx_th_s_005fform_005f0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
_jspx_th_s_005fform_005f0.doInitBody();
}
do {
out.write("\r\n");
out.write("\t\t\t<input type=\"hidden\" id=\"returnsign\" name=\"returnsign\" value=\"");
if (_jspx_meth_s_005fproperty_005f0(_jspx_th_s_005fform_005f0, _jspx_page_context))
return;
out.write("\" />\r\n");
out.write("\t\t\t<input type=\"hidden\" name=\"parentId\" value=\"");
if (_jspx_meth_s_005fproperty_005f1(_jspx_th_s_005fform_005f0, _jspx_page_context))
return;
out.write("\"/>\r\n");
out.write("\r\n");
out.write("</table>\r\n");
out.write("<div id=\"listcontent\" style=\"height:280px; width:100%;overflow:auto;\">\r\n");
out.write("<table class=\"datalist\" id=\"datacolor\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
out.write("\t<tr>\r\n");
out.write("\t\t<th>\r\n");
out.write("\t\t <div style=\"width:150px;\">\r\n");
out.write("\t\t\t知识点名称\r\n");
out.write("\t\t </div>\r\n");
out.write("\t\t</th>\r\n");
out.write("\t\t<th>\r\n");
out.write("\t\t\t<div style=\"width:80px;\">\r\n");
out.write("\t\t\t知识点类别\r\n");
out.write("\t\t\t </div>\r\n");
out.write("\t\t</th>\r\n");
out.write("\t\t<th>\r\n");
out.write("\t\t\t<div style=\"width:30px;\">\r\n");
out.write("\t\t\t操作\r\n");
out.write("\t\t\t </div>\r\n");
out.write("\t\t</th>\r\n");
out.write("\t</tr>\r\n");
out.write("\t");
// s:iterator
org.apache.struts2.views.jsp.IteratorTag _jspx_th_s_005fiterator_005f0 = (org.apache.struts2.views.jsp.IteratorTag) _005fjspx_005ftagPool_005fs_005fiterator_005fvalue_005fstatus.get(org.apache.struts2.views.jsp.IteratorTag.class);
_jspx_th_s_005fiterator_005f0.setPageContext(_jspx_page_context);
_jspx_th_s_005fiterator_005f0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_s_005fform_005f0);
_jspx_th_s_005fiterator_005f0.setValue("kmtreelist");
_jspx_th_s_005fiterator_005f0.setStatus("rowstatus");
int _jspx_eval_s_005fiterator_005f0 = _jspx_th_s_005fiterator_005f0.doStartTag();
if (_jspx_eval_s_005fiterator_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
if (_jspx_eval_s_005fiterator_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
out = _jspx_page_context.pushBody();
_jspx_th_s_005fiterator_005f0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
_jspx_th_s_005fiterator_005f0.doInitBody();
}
do {
out.write("\r\n");
out.write("\t\t<tr>\r\n");
out.write("\t\t\t<td>\r\n");
out.write("\t\t\t\t");
if (_jspx_meth_s_005fproperty_005f2(_jspx_th_s_005fiterator_005f0, _jspx_page_context))
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -