📄 km_005fview_jsp.java
字号:
package org.apache.jsp.pages.LeftMenu.km;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class km_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_005fproperty_005fvalue_005fnobody;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fs_005fif_005ftest;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fs_005felseif_005ftest;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fs_005felse;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fs_005fiterator_005fvalue;
public Object getDependants() {
return _jspx_dependants;
}
public void _jspInit() {
_005fjspx_005ftagPool_005fs_005fproperty_005fvalue_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005fs_005fif_005ftest = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005fs_005felseif_005ftest = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005fs_005felse = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005fs_005fiterator_005fvalue = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
}
public void _jspDestroy() {
_005fjspx_005ftagPool_005fs_005fproperty_005fvalue_005fnobody.release();
_005fjspx_005ftagPool_005fs_005fif_005ftest.release();
_005fjspx_005ftagPool_005fs_005felseif_005ftest.release();
_005fjspx_005ftagPool_005fs_005felse.release();
_005fjspx_005ftagPool_005fs_005fiterator_005fvalue.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");
out.write("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \r\n");
out.write("\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\r\n");
String cpath=request.getContextPath();
out.write("\r\n");
out.write("<html>\r\n");
out.write("\t<head>\r\n");
out.write("\t\t\t<title>查看知识点</title>\r\n");
out.write("\t\t<script src=\"");
out.print(cpath);
out.write("/js/calendar.js\"></script>\r\n");
out.write("\t\t<script src=\"");
out.print(cpath);
out.write("/js/validate.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\r\n");
out.write("\t\t<script language=\"JavaScript\">\t\r\n");
out.write("\t $(function(){\r\n");
out.write("\t \taddInputEffect();\r\n");
out.write("\t });\r\n");
out.write("\t \r\n");
out.write("function myopenWindows(url,name,id,obj){\r\n");
out.write("\ttry{\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\talert(er.name+\":\"+er.message);\r\n");
out.write("\t}\r\n");
out.write("}\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("function thread_add(treeId){\r\n");
out.write("\t\tvar info = document.form.info.value;\r\n");
out.write("\t\tif(info==\"1\"){\r\n");
out.write("\t\t\talert(\"收藏夹中已有该知识点!\");\r\n");
out.write("\t\t\treturn false;\r\n");
out.write("\t\t}else{\r\n");
out.write("\t\t\twindow.open(\"");
out.print(cpath);
out.write("/km/showallkmfavorbf.action?treeId=\"+treeId, \"\", \"height=350, width=300, toolbar=no , menubar=no, scrollbars=yes, resizable=no, location=no, status=no\");\r\n");
out.write("\t\t}\r\n");
out.write("\t}\r\n");
out.write("\r\n");
out.write("\r\n");
out.write('\r');
out.write('\n');
out.write("\r\n");
out.write("\tdocument.form.submit();\r\n");
out.write('\r');
out.write('\n');
out.write("\r\n");
out.write("\r\n");
out.write("function reload(){\r\n");
out.write("\tvar windowId = document.getElementById('windowId').value;\r\n");
out.write("\tvar lastwindow = window.top.frames['title'].getLastWindow(windowId);\r\n");
out.write("\tlastwindow.location.href=\"");
out.print(cpath);
out.write("/blackorred/addkmfavor.action\";\r\n");
out.write("}\r\n");
out.write("\r\n");
out.write("function updateStatus(){\r\n");
out.write("\tvar para=document.getElementById('ref').style.display;\r\n");
out.write("\tif(para==\"\"){\r\n");
out.write("\t\tdocument.getElementById('ref').style.display=\"none\";\r\n");
out.write("\t\tform.max.style.display=\"none\";\r\n");
out.write("\t\tform.back.style.display=\"\";\r\n");
out.write("\t}\r\n");
out.write("\tif(para==\"none\"){\r\n");
out.write("\t\tdocument.getElementById('ref').style.display=\"\";\r\n");
out.write("\t\tform.max.style.display=\"\";\r\n");
out.write("\t\tform.back.style.display=\"none\";\r\n");
out.write("\t}\r\n");
out.write("}\r\n");
out.write("</script>\r\n");
out.write("\t</head>\r\n");
out.write("<body leftmargin=\"0\" topmargin=\"0\" style=\"width:100%;height:100%\">\r\n");
out.write("\t\t<form name=\"form\" action=\"\" method=\"post\" enctype=\"multipart/form-data\">\r\n");
out.write("\t\t\t<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" style=\"width:100%;position: relative;\">\r\n");
out.write("\t\t\t\t<tr>\r\n");
out.write("\t\t\t\t\t<td valign=\"top\" colspan=\"3\">\r\n");
out.write("\t\t\t\t\t\t<table cellpadding=\"0\" cellspacing=\"0\" class=\"title\" width=\"100%\">\r\n");
out.write("\t\t\t\t\t \t<tr>\r\n");
out.write("\t\t\t\t\t <td style=\"height:25px\">查看知识点</td>\r\n");
out.write("\t\t\t\t\t <td align=\"right\">\r\n");
out.write("\t\t\t\t\t \t<input type=\"button\" value=\"添加到收藏夹\" name=\"ok\" class=\"input02\" \r\n");
out.write("\t\t\t\t\t\t\t\tonClick=\"javascript:thread_add(");
if (_jspx_meth_s_005fproperty_005f0(_jspx_page_context))
return;
out.write(")\"/>\r\n");
out.write("\t\t\t\t\t </td>\r\n");
out.write("\t\t\t\t\t </tr>\r\n");
out.write("\t\t\t\t\t </table>\r\n");
out.write("\t\t\t\t\t</td>\r\n");
out.write("\t\t\t\t</tr>\r\n");
out.write("\t\t\t\t<tr>\r\n");
out.write("\t\t\t<td width=\"79%\" id=\"main\" style=\"\" class=\"bgOffice\">\r\n");
out.write("\t\t\t<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table02 \">\r\n");
out.write("\t\t\t\r\n");
out.write("\t\t\t\t\t\t\t<tr >\r\n");
out.write("\t\t\t\t\t\t\t\t<td width=\"25%\" align=\"right\" class=\"right\">\r\n");
out.write("\t\t\t\t\t\t\t\t\t标题:\r\n");
out.write("\t\t\t\t\t\t\t\t</td>\r\n");
out.write("\t\t\t\t\t\t\t\t<td width=\"25%\" align=\"left\" class=\"bgInput\">\r\n");
out.write("\t\t\t\t\t\t\t\t\t");
if (_jspx_meth_s_005fproperty_005f1(_jspx_page_context))
return;
out.write("\r\n");
out.write("\t\t\t\t\t\t\t\t</td>\r\n");
out.write("\t\t\t\t\t\t\t\t<td width=\"25%\" align=\"right\"class=\"right\">\r\n");
out.write("\t\t\t\t\t\t\t\t\t关键字:\r\n");
out.write("\t\t\t\t\t\t\t\t</td>\r\n");
out.write("\t\t\t\t\t\t\t\t<td width=\"25%\" align=\"left\" class=\"bgInput\">\r\n");
out.write("\t\t\t\t\t\t\t\t\t");
if (_jspx_meth_s_005fproperty_005f2(_jspx_page_context))
return;
out.write("\r\n");
out.write("\t\t\t\t\t\t\t\t</td>\r\n");
out.write("\t\t\t\t\t\t\t</tr>\r\n");
out.write("\t\t\t\t\t\t\t<tr>\r\n");
out.write("\t\t\t\t\t\t\t\t<td align=\"left\" colspan=\"4\">\r\n");
out.write("\t\t\t\t\t\t\t\t\t");
// s:if
org.apache.struts2.views.jsp.IfTag _jspx_th_s_005fif_005f0 = (org.apache.struts2.views.jsp.IfTag) _005fjspx_005ftagPool_005fs_005fif_005ftest.get(org.apache.struts2.views.jsp.IfTag.class);
_jspx_th_s_005fif_005f0.setPageContext(_jspx_page_context);
_jspx_th_s_005fif_005f0.setParent(null);
_jspx_th_s_005fif_005f0.setTest("kmtree.nodeType=='text'");
int _jspx_eval_s_005fif_005f0 = _jspx_th_s_005fif_005f0.doStartTag();
if (_jspx_eval_s_005fif_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
if (_jspx_eval_s_005fif_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
out = _jspx_page_context.pushBody();
_jspx_th_s_005fif_005f0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
_jspx_th_s_005fif_005f0.doInitBody();
}
do {
out.write("\r\n");
out.write("\t\t\t\t\t\t\t\t\t\t<iframe name=\"node\"\r\n");
out.write("\t\t\t\t\t\t\t\t\t\t\tsrc=\"");
out.print(cpath);
out.write('/');
if (_jspx_meth_s_005fproperty_005f3(_jspx_th_s_005fif_005f0, _jspx_page_context))
return;
out.write('/');
if (_jspx_meth_s_005fproperty_005f4(_jspx_th_s_005fif_005f0, _jspx_page_context))
return;
out.write("\"\r\n");
out.write("\t\t\t\t\t\t\t\t\t\t\tframeborder=\"0\" scrolling=\"auto\" width=\"100%\" height=\"359\"></iframe>\r\n");
out.write("\t\t\t\t\t\t\t\t\t");
int evalDoAfterBody = _jspx_th_s_005fif_005f0.doAfterBody();
if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
break;
} while (true);
if (_jspx_eval_s_005fif_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
out = _jspx_page_context.popBody();
}
}
if (_jspx_th_s_005fif_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
_005fjspx_005ftagPool_005fs_005fif_005ftest.reuse(_jspx_th_s_005fif_005f0);
return;
}
_005fjspx_005ftagPool_005fs_005fif_005ftest.reuse(_jspx_th_s_005fif_005f0);
out.write("\r\n");
out.write("\t\t\t\t\t\t\t\t\t");
// s:elseif
org.apache.struts2.views.jsp.ElseIfTag _jspx_th_s_005felseif_005f0 = (org.apache.struts2.views.jsp.ElseIfTag) _005fjspx_005ftagPool_005fs_005felseif_005ftest.get(org.apache.struts2.views.jsp.ElseIfTag.class);
_jspx_th_s_005felseif_005f0.setPageContext(_jspx_page_context);
_jspx_th_s_005felseif_005f0.setParent(null);
_jspx_th_s_005felseif_005f0.setTest("kmtree.nodeType=='doc'");
int _jspx_eval_s_005felseif_005f0 = _jspx_th_s_005felseif_005f0.doStartTag();
if (_jspx_eval_s_005felseif_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
if (_jspx_eval_s_005felseif_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
out = _jspx_page_context.pushBody();
_jspx_th_s_005felseif_005f0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
_jspx_th_s_005felseif_005f0.doInitBody();
}
do {
out.write("\r\n");
out.write("\t\t\t\t\t\t\t\t\t\t<iframe name=\"node\"\r\n");
out.write("\t\t\t\t\t\t\t\t\t\t\tsrc=\"");
out.print(cpath);
out.write('/');
if (_jspx_meth_s_005fproperty_005f5(_jspx_th_s_005felseif_005f0, _jspx_page_context))
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -