📄 main_jsp.java
字号:
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class main_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static java.util.Vector _jspx_dependants;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_if_test;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_forEach_var_items;
public java.util.List getDependants() {
return _jspx_dependants;
}
public void _jspInit() {
_jspx_tagPool_c_if_test = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_jspx_tagPool_c_forEach_var_items = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
}
public void _jspDestroy() {
_jspx_tagPool_c_if_test.release();
_jspx_tagPool_c_forEach_var_items.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=GBK");
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("<html>\r\n");
out.write("<head>\r\n");
out.write("<title>main</title>\r\n");
out.write("<link rel=\"stylesheet\" type=\"text/css\" href=\"css/style.css\" />\r\n");
out.write("</head>\r\n");
out.write("<body bgcolor=\"#FAFAFA\">\r\n");
out.write(" <form action=\"showsection\" name=\"main\" method=\"POST\">\r\n");
out.write("\r\n");
out.write("<table align=\"center\" border=\"0\" width=\"98%\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
out.write(" <tr>\r\n");
out.write(" <td colspan=\"2\"> <a href=\"index.jsp\" target=\"_blank\">IT论坛</a>—>> <a href=\"#\">");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${kname}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</a>—>> <a href=\"#\">");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${sname}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</a></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td> 版主: ");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${uname}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td> <a href=\"sendtopic?uname=");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${username}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("&tid=");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${sid}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("&sname=");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${sname}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("&kname=");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${kname}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("&replay=");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pepedom.issend}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("&topicuser=");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${uname}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\" target=\"_blank\">发贴</a> |</td>\r\n");
out.write(" <td align=\"right\" colspan=\"4\">\r\n");
out.write(" ");
if (_jspx_meth_c_if_0(_jspx_page_context))
return;
out.write("\r\n");
out.write(" ");
if (_jspx_meth_c_if_1(_jspx_page_context))
return;
out.write("\r\n");
out.write(" ");
if (_jspx_meth_c_if_2(_jspx_page_context))
return;
out.write("\r\n");
out.write(" ");
if (_jspx_meth_c_if_3(_jspx_page_context))
return;
out.write("\r\n");
out.write(" ");
if (_jspx_meth_c_if_4(_jspx_page_context))
return;
out.write("\r\n");
out.write(" ");
if (_jspx_meth_c_if_5(_jspx_page_context))
return;
out.write("\r\n");
out.write(" ");
if (_jspx_meth_c_if_6(_jspx_page_context))
return;
out.write("\r\n");
out.write(" ");
if (_jspx_meth_c_if_7(_jspx_page_context))
return;
out.write("\r\n");
out.write(" </td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr bgcolor=\"#7EC0EE\" style=\"color:white\">\r\n");
out.write(" <th>标题</th>\r\n");
out.write(" <th>所属版块</th>\r\n");
out.write(" <th>发贴人</th>\r\n");
out.write(" <th>点击/回复</th>\r\n");
out.write(" <th>发贴时间</th>\r\n");
out.write(" <th>最后回复</th>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td> </td>\r\n");
out.write(" </tr>\r\n");
out.write(" ");
if (_jspx_meth_c_forEach_0(_jspx_page_context))
return;
out.write("\r\n");
out.write("</table>\r\n");
out.write("<table width=\"100%\" border=\"0\">\r\n");
out.write(" <tr>\r\n");
out.write(" <td align=\"right\">\r\n");
out.write(" <br>\r\n");
out.write(" <font size=\"2px\">\r\n");
out.write(" <input type=\"hidden\" name=\"cpage\" value=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${cpage}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\"/>\r\n");
out.write(" 共");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pages}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("页 第");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${cpage}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("页 每页");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${row}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("行 \r\n");
out.write(" ");
if (_jspx_meth_c_if_10(_jspx_page_context))
return;
out.write("\r\n");
out.write(" \r\n");
out.write(" ");
if (_jspx_meth_c_if_11(_jspx_page_context))
return;
out.write("\r\n");
out.write(" ");
if (_jspx_meth_c_if_12(_jspx_page_context))
return;
out.write(" \r\n");
out.write(" ");
if (_jspx_meth_c_if_13(_jspx_page_context))
return;
out.write("\r\n");
out.write(" ");
if (_jspx_meth_c_if_14(_jspx_page_context))
return;
out.write(" \r\n");
out.write(" ");
if (_jspx_meth_c_if_15(_jspx_page_context))
return;
out.write("\r\n");
out.write(" ");
if (_jspx_meth_c_if_16(_jspx_page_context))
return;
out.write(" \r\n");
out.write(" ");
if (_jspx_meth_c_if_17(_jspx_page_context))
return;
out.write("\r\n");
out.write(" </font>\r\n");
out.write(" <br/>\r\n");
out.write(" </td>\r\n");
out.write(" </tr>\r\n");
out.write("</table>\r\n");
out.write("<input type=\"hidden\" name=\"sid\" value=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${sid}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\" />\r\n");
out.write("<input type=\"hidden\" name=\"sname\" value=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${uname}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\" />\r\n");
out.write(" </form>\r\n");
out.write("</body>\r\n");
out.write("<script type=\"text/javascript\" language=\"javascript\">\r\n");
out.write("var obj = document.all;\r\n");
out.write("function setPage(f){\r\n");
out.write(" var value = obj.cpage.value-0;\r\n");
out.write(" if ( f == '+' ){ //表示用户点的是下一页\r\n");
out.write(" value += 1;\r\n");
out.write(" }\r\n");
out.write(" else if ( f == '-' ){\r\n");
out.write(" value -= 1;\r\n");
out.write(" }\r\n");
out.write(" else {\r\n");
out.write(" value = f;\r\n");
out.write(" }\r\n");
out.write(" obj.cpage.value = value;\r\n");
out.write(" main.submit();//使表单提交\r\n");
out.write("}\r\n");
out.write("</script></html>\r\n");
} catch (Throwable t) {
if (!(t instanceof SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
out.clearBuffer();
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
}
} finally {
if (_jspxFactory != null) _jspxFactory.releasePageContext(_jspx_page_context);
}
}
private boolean _jspx_meth_c_if_0(PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// c:if
org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_if_0 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _jspx_tagPool_c_if_test.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
_jspx_th_c_if_0.setPageContext(_jspx_page_context);
_jspx_th_c_if_0.setParent(null);
_jspx_th_c_if_0.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${cpage == 1}", java.lang.Boolean.class, (PageContext)_jspx_page_context, null, false)).booleanValue());
int _jspx_eval_c_if_0 = _jspx_th_c_if_0.doStartTag();
if (_jspx_eval_c_if_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
out.write('首');
out.write('页');
int evalDoAfterBody = _jspx_th_c_if_0.doAfterBody();
if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
break;
} while (true);
}
if (_jspx_th_c_if_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return true;
_jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_0);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -