📄 __forum.java
字号:
/* compiled from JSP: /forum.jsp
*
* This code was automatically generated at 19:44:10 on 2005-12-8
* by weblogic.servlet.jsp.Jsp2Java -- do not edit.
*/
package jsp_servlet;
import java.io.*;
import java.util.*;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import javax.servlet.jsp.tagext.*;
// User imports
// built-in init parameters:
// boolean _verbose -- wants debugging
// Well-known variables:
// JspWriter out -- to write to the browser
// HttpServletRequest request -- the request object.
// HttpServletResponse response -- the response object.
// PageContext pageContext -- the page context for this JSP
// HttpSession session -- the session object for the client (if any)
// ServletContext application -- The servlet (application) context
// ServletConfig config -- The ServletConfig for this JSP
// Object page -- the instance of this page's implementation class (i.e., 'this')
/**
* This code was automatically generated at 19:44:10 on 2005-12-8
* by weblogic.servlet.jsp.Jsp2Java -- do not edit.
*
* Copyright (c) 2005 by BEA Systems, Inc. All Rights Reserved.
*/
public final class __forum
extends
weblogic.servlet.jsp.JspBase
implements weblogic.servlet.jsp.StaleIndicator
{
private static void _releaseTags(javax.servlet.jsp.tagext.Tag t) { while (t != null) { javax.servlet.jsp.tagext.Tag tmp = t; t = t.getParent(); try { tmp.release(); } catch (Exception ignore) {} } } // StaleIndicator interface public boolean _isStale() { weblogic.servlet.jsp.StaleChecker sci =(weblogic.servlet.jsp.StaleChecker)(getServletConfig().getServletContext()); java.io.File f = null; long lastModWhenBuilt = 0L; if (sci.isResourceStale("/forum.jsp", 1105246669937L, "8.1.2.0", "Asia/Shanghai")) return true; return false; } public static boolean _staticIsStale(weblogic.servlet.jsp.StaleChecker sci) { java.io.File f = null; long lastModWhenBuilt = 0L; if (sci.isResourceStale("/forum.jsp", 1105246669937L, "8.1.2.0", "Asia/Shanghai")) return true; return false; } private static void _writeText(ServletResponse rsp, JspWriter out, String block, byte[] blockBytes) throws IOException { if (!_WL_ENCODED_BYTES_OK || _hasEncodingChanged(rsp)) { out.print(block); } else { ((weblogic.servlet.jsp.ByteWriter)out).write(blockBytes, block); } } private static boolean _hasEncodingChanged(ServletResponse rsp) { if (_WL_ORIGINAL_ENCODING.equals(rsp.getCharacterEncoding())) { return false; } return true; } private static boolean _WL_ENCODED_BYTES_OK = true; private static final String _WL_ORIGINAL_ENCODING = "GBK"; private static byte[] _getBytes(String block) { try { return block.getBytes(_WL_ORIGINAL_ENCODING); } catch (java.io.UnsupportedEncodingException u) { _WL_ENCODED_BYTES_OK = false; } return null; } private final static String _wl_block0 = "\r\n\r\n\r\n\r\n"; private final static byte[] _wl_block0Bytes = _getBytes(_wl_block0); private final static String _wl_block1 = "\r\n<head>\r\n<title>论坛</title>\r\n<script language=\"JavaScript\" type=\"text/javascript\" >\r\n function doDifferent(obj)\r\n {\r\n document.forumForm.event.value= obj;\r\n forumForm.type.value=\'topic\';\r\n document.forumForm.submit();\r\n }\r\n\tfunction currPage( page )\r\n\t{\r\n\t\tdocument.forms[0].currPage.value = page;\r\n\t\tdocument.forms[0].event.value = \"forum\";\r\n\t\tdocument.forms[0].submit();\r\n\t}\r\n\tfunction PrePage( page )\r\n\t{\r\n\t\tcurrPage( page-1 );\r\n\t}\r\n\tfunction NextPage( page )\r\n\t{\r\n\t\tcurrPage( page+1 );\r\n\t}\r\n\tfunction ChangePage()\r\n\t{\r\n\r\n\t\tvar total = parseInt(document.forms[0].total.value,10);\r\n\t\tvar page = parseInt(document.forms[0].changepage.value,10);\r\n\t\tif(page<1)\r\n\t\t{\r\n\t\t alert(\"输入面号不能小于1请重新输入\");\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t \tif(page>total)\r\n\t\t \t\talert(\"输入的面号不能大于总页面数\");\r\n\t\t \telse\r\n\t\t \t\tcurrPage(page);\r\n\t\t}\r\n\t}\r\n</script></head>\r\n<body bgcolor=\"#ffffff\">\r\n"; private final static byte[] _wl_block1Bytes = _getBytes(_wl_block1); private final static String _wl_block2 = "\r\n\r\n"; private final static byte[] _wl_block2Bytes = _getBytes(_wl_block2); private final static String _wl_block3 = "\r\n"; private final static byte[] _wl_block3Bytes = _getBytes(_wl_block3); private final static String _wl_block4 = "\r\n<a href=\"loginAction.do\">登入</a>\r\n <table width=\"100%\" border=\"0\" align=\"center\" cellpadding=\"4\" cellspacing=\"0\">\r\n <tr align=\"center\">\r\n <td><font color=\"blue\" size=\"6\">论坛</font></td>\r\n </tr>\r\n </table>\r\n<table width=\"100%\" border=\"0\" align=\"center\">\r\n <tr>\r\n <td bgcolor=\"#EEEEEE\">\r\n <div align=\"center\">\r\n <table border=\"0\" align=\"center\">\r\n <tr bgcolor=\"blue\">\r\n <td width=\"%50\"><font color=\"ffffff\">主题</font></td>\r\n <td width=\"%25\"><font color=\"ffffff\">作者</font></td>\r\n <td width=\"%25\"><font color=\"ffffff\">发表时间</font></td>\r\n </tr>\r\n "; private final static byte[] _wl_block4Bytes = _getBytes(_wl_block4); private final static String _wl_block5 = "\r\n </table>\r\n </div>\r\n </td>\r\n </tr>\r\n</table>\r\n<br>\r\n<br>\r\n<div align=\"center\">\r\n "; private final static byte[] _wl_block5Bytes = _getBytes(_wl_block5); private final static String _wl_block6 = "\r\n</div>\r\n <table width=\"98%\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"2\">\r\n <tr>\r\n <td width=\"51%\" height=\"24\" nowrap class=\"tdbgpaging\"> </td>\r\n\r\n\t"; private final static byte[] _wl_block6Bytes = _getBytes(_wl_block6); private final static String _wl_block7 = "\r\n\t"; private final static byte[] _wl_block7Bytes = _getBytes(_wl_block7); private final static String _wl_block8 = "\r\n <td width=\"49%\" align=\"center\" nowrap class=\"tdbgpaging\">共"; private final static byte[] _wl_block8Bytes = _getBytes(_wl_block8); private final static String _wl_block9 = "页\r\n 第"; private final static byte[] _wl_block9Bytes = _getBytes(_wl_block9); private final static String _wl_block10 = "页\r\n\t "; private final static byte[] _wl_block10Bytes = _getBytes(_wl_block10); private final static String _wl_block11 = "\r\n\t\t\t<a href=\"javascript:PrePage("; private final static byte[] _wl_block11Bytes = _getBytes(_wl_block11); private final static String _wl_block12 = ")\">前页</a>\r\n\t "; private final static byte[] _wl_block12Bytes = _getBytes(_wl_block12); private final static String _wl_block13 = "\r\n\r\n\t "; private final static byte[] _wl_block13Bytes = _getBytes(_wl_block13); private final static String _wl_block14 = "\r\n\t "; private final static byte[] _wl_block14Bytes = _getBytes(_wl_block14); private final static String _wl_block15 = "\r\n\t <a href=\"javascript:NextPage("; private final static byte[] _wl_block15Bytes = _getBytes(_wl_block15); private final static String _wl_block16 = ")\">后页</a>\r\n\t "; private final static byte[] _wl_block16Bytes = _getBytes(_wl_block16); private final static String _wl_block17 = "\r\n\t 跳到<input type=\"text\" name=\"changepage\" value=\""; private final static byte[] _wl_block17Bytes = _getBytes(_wl_block17); private final static String _wl_block18 = "\" size=\"2\" maxlength=\"2\"> 页<a href=\"javascript:ChangePage()\">go</a>\r\n\t <input type=\"hidden\" name=\"currPage\" value=\""; private final static byte[] _wl_block18Bytes = _getBytes(_wl_block18); private final static String _wl_block19 = "\">\r\n\t <input type=\"hidden\" name=\"total\" value=\""; private final static byte[] _wl_block19Bytes = _getBytes(_wl_block19); private final static String _wl_block20 = "\">\r\n\r\n\t </td>\r\n\t "; private final static byte[] _wl_block20Bytes = _getBytes(_wl_block20); private final static String _wl_block21 = "\r\n </tr>\r\n </table>\r\n\r\n"; private final static byte[] _wl_block21Bytes = _getBytes(_wl_block21); private final static String _wl_block22 = "\r\n</body>\r\n"; private final static byte[] _wl_block22Bytes = _getBytes(_wl_block22); private final static String _wl_block23 = "\r\n"; private final static byte[] _wl_block23Bytes = _getBytes(_wl_block23);
public void _jspService(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException
{
// declare and set well-known variables:
javax.servlet.ServletConfig config = getServletConfig();
javax.servlet.ServletContext application = config.getServletContext();
javax.servlet.jsp.tagext.Tag _activeTag = null;
// variables for Tag extension protocol int _int0 = 0, _int1 = 0, _int2 = 0, _int3 = 0, _int4 = 0; org.apache.struts.taglib.bean.DefineTag _bean_define0 = null, _bean_define1 = null; org.apache.struts.taglib.bean.WriteTag _bean_write0 = null; org.apache.struts.taglib.logic.IterateTag _logic_iterate0 = null; org.apache.struts.taglib.logic.GreaterThanTag _logic_greaterThan0 = null, _logic_greaterThan1 = null; org.apache.struts.taglib.html.ButtonTag _html_button0 = null; org.apache.struts.taglib.html.HiddenTag _html_hidden0 = null; org.apache.struts.taglib.html.FormTag _html_form0 = null; org.apache.struts.taglib.html.HtmlTag _html_html0 = null;
Object page = this;
javax.servlet.jsp.JspWriter out;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -