⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 _index0__jsp.java

📁 用JSP写的论坛源代码 走过路过的各位千万不要错过啊!!!!
💻 JAVA
字号:
/*
 * JSP generated by Resin-3.0.7 (built Wed, 24 Mar 2004 04:28:45 PST)
 */

package _jsp;
import javax.servlet.*;
import javax.servlet.jsp.*;
import javax.servlet.http.*;
import java.sql.*;
import java.util.*;
import java.lang.String;

public class _index0__jsp extends com.caucho.jsp.JavaPage{
  private boolean _caucho_isDead;
  
  public void
  _jspService(javax.servlet.http.HttpServletRequest request,
              javax.servlet.http.HttpServletResponse response)
    throws java.io.IOException, javax.servlet.ServletException
  {
    javax.servlet.http.HttpSession session = request.getSession(true);
    com.caucho.server.webapp.Application _jsp_application = _caucho_getApplication();
    javax.servlet.ServletContext application = _jsp_application;
    com.caucho.jsp.PageContextImpl pageContext = com.caucho.jsp.QJspFactory.allocatePageContext(this, _jsp_application, request, response, null, session, 8192, true);
    javax.servlet.jsp.JspWriter out = pageContext.getOut();
    javax.servlet.ServletConfig config = getServletConfig();
    javax.servlet.Servlet page = this;
    response.setContentType("text/html; charset=gb2312");
    request.setCharacterEncoding("GB2312");
    try {
      out.write(_jsp_string0, 0, _jsp_string0.length);
      bbs.beans.board.ViewBoard viewboard;
      viewboard = (bbs.beans.board.ViewBoard) pageContext.getAttribute("viewboard");
      if (viewboard == null) {
        viewboard = new bbs.beans.board.ViewBoard();
        pageContext.setAttribute("viewboard", viewboard);
      }
      out.write(_jsp_string1, 0, _jsp_string1.length);
      
 String tag="";
 String aa="";
 Vector v1=new Vector();
 v1=viewboard.listData();
 Enumeration e1=v1.elements();


      out.write(_jsp_string2, 0, _jsp_string2.length);
       if(session.getAttribute("userid")!=null){
      out.write(_jsp_string3, 0, _jsp_string3.length);
      out.print((session.getAttribute("username")));
      out.write(_jsp_string4, 0, _jsp_string4.length);
      }
      out.write(_jsp_string5, 0, _jsp_string5.length);
      
  while(e1.hasMoreElements())
  {Object[] obj1=(Object[])e1.nextElement();
   aa=(String)obj1[1];
   
   if(!tag.equalsIgnoreCase(aa))
   { tag=aa;
  
      out.write(_jsp_string6, 0, _jsp_string6.length);
      out.print((tag));
      out.write(_jsp_string7, 0, _jsp_string7.length);
      }
      out.write(_jsp_string8, 0, _jsp_string8.length);
      int forum=1;
		 if(Integer.parseInt((String)obj1[6])>1000&&Integer.parseInt((String)obj1[7])>1000)
		  forum=2;
		 else
		 {if(Integer.parseInt((String)obj1[6])>1000&&Integer.parseInt((String)obj1[7])<1000)
		 forum=3;} 
      out.write(_jsp_string9, 0, _jsp_string9.length);
      out.print((forum));
      out.write(_jsp_string10, 0, _jsp_string10.length);
      out.print((obj1[0]));
      out.write(_jsp_string11, 0, _jsp_string11.length);
      out.print((obj1[2]));
      out.write(_jsp_string12, 0, _jsp_string12.length);
      out.print((obj1[3]));
      out.write(_jsp_string13, 0, _jsp_string13.length);
      out.print((obj1[5]));
      out.write(_jsp_string14, 0, _jsp_string14.length);
      out.print((obj1[9]));
      out.write(_jsp_string15, 0, _jsp_string15.length);
      out.print((obj1[6]));
      out.write(_jsp_string16, 0, _jsp_string16.length);
      out.print((obj1[7]));
      out.write(_jsp_string17, 0, _jsp_string17.length);
      out.print((obj1[4]));
      out.write(_jsp_string18, 0, _jsp_string18.length);
      }
      out.write(_jsp_string19, 0, _jsp_string19.length);
    } catch (java.lang.Throwable _jsp_e) {
      pageContext.handlePageException(_jsp_e);
    } finally {
      com.caucho.jsp.QJspFactory.freePageContext(pageContext);
    }
  }

  private com.caucho.java.LineMap _caucho_line_map;
  private java.util.ArrayList _caucho_depends = new java.util.ArrayList();

  public java.util.ArrayList _caucho_getDependList()
  {
    return _caucho_depends;
  }

  public void _caucho_addDepend(com.caucho.make.PersistentDependency depend)
  {
    super._caucho_addDepend(depend);
    _caucho_depends.add(depend);
  }

  public boolean _caucho_isModified()
  {
    if (_caucho_isDead)
      return true;
    if (com.caucho.util.CauchoSystem.getVersionId() != 1174304629)
      return true;
    for (int i = _caucho_depends.size() - 1; i >= 0; i--) {
      com.caucho.make.Dependency depend;
      depend = (com.caucho.make.Dependency) _caucho_depends.get(i);
      if (depend.isModified())
        return true;
    }
    return false;
  }

  public long _caucho_lastModified()
  {
    return 0;
  }

  public com.caucho.java.LineMap _caucho_getLineMap()
  {
    return _caucho_line_map;
  }

  public void destroy()
  {
      _caucho_isDead = true;
      super.destroy();
  }

  public void init(com.caucho.java.LineMap lineMap,
                   com.caucho.vfs.Path appDir)
    throws javax.servlet.ServletException
  {
    com.caucho.vfs.Path resinHome = com.caucho.util.CauchoSystem.getResinHome();
    com.caucho.vfs.MergePath mergePath = new com.caucho.vfs.MergePath();
    mergePath.addMergePath(appDir);
    mergePath.addMergePath(resinHome);
    com.caucho.loader.DynamicClassLoader loader;
    loader = (com.caucho.loader.DynamicClassLoader) getClass().getClassLoader();
    String resourcePath = loader.getResourcePathSpecificFirst();
    mergePath.addClassPath(resourcePath);
    _caucho_line_map = new com.caucho.java.LineMap("_index0__jsp.java", "foo");
    _caucho_line_map.add("/index0.jsp", 3, 32);
    _caucho_line_map.add(4, 39);
    _caucho_line_map.add(67, 48);
    _caucho_line_map.add(68, 50);
    _caucho_line_map.add(69, 52);
    _caucho_line_map.add(71, 54);
    _caucho_line_map.add(86, 63);
    _caucho_line_map.add(89, 65);
    _caucho_line_map.add(95, 67);
    _caucho_line_map.add(101, 74);
    _caucho_line_map.add(102, 76);
    _caucho_line_map.add(102, 78);
    _caucho_line_map.add(103, 80);
    _caucho_line_map.add(108, 82);
    _caucho_line_map.add(114, 84);
    _caucho_line_map.add(121, 86);
    _caucho_line_map.add(121, 88);
    _caucho_line_map.add(122, 90);
    _caucho_line_map.add(126, 92);
    com.caucho.vfs.Depend depend;
    depend = new com.caucho.vfs.Depend(appDir.lookup("index0.jsp"), "GjwvNwDXWnVgf4/dgUSwDg==", false);
    _caucho_depends.add(depend);
  }

  private final static char []_jsp_string15;
  private final static char []_jsp_string7;
  private final static char []_jsp_string5;
  private final static char []_jsp_string14;
  private final static char []_jsp_string17;
  private final static char []_jsp_string2;
  private final static char []_jsp_string1;
  private final static char []_jsp_string11;
  private final static char []_jsp_string10;
  private final static char []_jsp_string8;
  private final static char []_jsp_string18;
  private final static char []_jsp_string9;
  private final static char []_jsp_string0;
  private final static char []_jsp_string13;
  private final static char []_jsp_string12;
  private final static char []_jsp_string4;
  private final static char []_jsp_string19;
  private final static char []_jsp_string16;
  private final static char []_jsp_string6;
  private final static char []_jsp_string3;
  static {
    _jsp_string15 = "</span></td>\r\n            </tr>\r\n          </table>          \r\n          <div align=\"center\"></div>\r\n          <div align=\"center\"></div></td>\r\n        </tr>\r\n        <tr>\r\n          <td height=\"20\" valign=\"middle\" bgcolor=\"#E5F7D5\">&nbsp;\u70b9\u51fb\u6570\uff1a<span class=\"style6\">".toCharArray();
    _jsp_string7 = "\u2261</span></strong></td>\r\n      </tr>\r\n    </table></td>\r\n	 ".toCharArray();
    _jsp_string5 = "</span></td>\r\n  </tr>\r\n  ".toCharArray();
    _jsp_string14 = "</td>\r\n            </tr>\r\n          </table></td>\r\n        <td align=\"center\" valign=\"middle\" bgcolor=\"#E5F7D5\">\r\n          <table width=\"296\" height=\"50\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n            <tr>\r\n              <td align=\"left\" valign=\"top\"> &nbsp;<img src=\"images/mal.gif\" width=\"14\" height=\"18\"> <span class=\"style8\">".toCharArray();
    _jsp_string17 = "</span></td>\r\n          <td valign=\"middle\" bgcolor=\"#E5F7D5\"> &nbsp; \u7248\u4e3bE-Mail:<span class=\"style7\">".toCharArray();
    _jsp_string2 = "\r\n<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n<title>\u8bba\u575b\u9996\u9875</title>\r\n\r\n<style type=\"text/css\">\r\n<!--\r\nbody,td,th {\r\n	font-size: 12px;\r\n}\r\n.style4 {\r\n	color: #FFFFFF;\r\n	font-weight: bold;\r\n}\r\n.style5 {\r\n	color: #333399;\r\n	font-weight: bold;\r\n}\r\n.style6 {color: #FF0000}\r\n.style7 {color: #0000FF}\r\n.style8 {color: #666666}\r\nbody {\r\n	background-image: url(images/back.gif);\r\n}\r\n.style10 {color: #000000}\r\n.style11 {color: #000000; font-weight: bold; }\r\n-->\r\n</style>\r\n<STYLE>\r\nTD {\r\n	COLOR: #000000; FONT-FAMILY: \u5b8b\u4f53; FONT-SIZE: 9pt; TEXT-DECORATION: none\r\n}\r\nA:link {\r\n	COLOR: #0033FF; TEXT-DECORATION: none\r\n}\r\nA:visited {\r\n	COLOR: #006699; TEXT-DECORATION: none\r\n}\r\nA:active {\r\n	COLOR: #FF0000; TEXT-DECORATION: none\r\n}\r\nA:hover {\r\n	COLOR: #ff0000; TEXT-DECORATION: underline\r\n}\r\n\r\n.style12 {color: #000099}\r\n</STYLE>\r\n</head>\r\n\r\n<body>\r\n\r\n<table width=\"938\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n  <!--DWLayoutTable-->\r\n  <tr>\r\n    <td width=\"945\" height=\"34\" valign=\"middle\"><span class=\"style4\">\r\n    ".toCharArray();
    _jsp_string1 = "\r\n".toCharArray();
    _jsp_string11 = "\">".toCharArray();
    _jsp_string10 = ".gif\" width=\"33\" height=\"25\"></td>\r\n          <td width=\"541\" height=\"20\" valign=\"middle\" bgcolor=\"#E5F7D5\">&nbsp;\u300e<strong><a href=\"display.jsp?boardid=".toCharArray();
    _jsp_string8 = "\r\n</tr>\r\n <tr>\r\n    <td height=\"106\" align=\"left\" valign=\"top\">	<table width=\"945\" height=\"104\" border=\"0\" cellpadding=\"0\" cellspacing=\"1\" bordercolor=\"#FFFFFF\" bgcolor=\"#FF6600\">\r\n        <!--DWLayoutTable-->\r\n        <tr>\r\n		".toCharArray();
    _jsp_string18 = "</span></td>\r\n        </tr>\r\n    </table></td>\r\n  </tr>\r\n  ".toCharArray();
    _jsp_string9 = "\r\n          <td width=\"88\" rowspan=\"3\" align=\"center\" valign=\"middle\" bgcolor=\"#E5F7D5\"><img src=\"images/forum".toCharArray();
    _jsp_string0 = "\r\n<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\r\n".toCharArray();
    _jsp_string13 = "</span></td>\r\n        </tr>\r\n        <tr>\r\n          <td height=\"62\" align=\"center\" valign=\"middle\" bgcolor=\"#E5F7D5\"><table width=\"528\" height=\"51\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n            <tr>\r\n              <td align=\"left\" valign=\"top\">&nbsp;<img src=\"images/exclamation.gif\" width=\"21\" height=\"20\"> ".toCharArray();
    _jsp_string12 = "</a></strong>\u300f </td>\r\n          <td width=\"312\" valign=\"middle\" bgcolor=\"#E5F7D5\">&nbsp;\u7248\u4e3b\uff1a<span class=\"style5\">".toCharArray();
    _jsp_string4 = "</span><span class=\"style11\">!</span><span class=\"style4\">\r\n    ".toCharArray();
    _jsp_string19 = "\r\n</table>\r\n</body>\r\n</html>\r\n".toCharArray();
    _jsp_string16 = "</span>&nbsp;\u4e3b\u9898\u6570\uff1a<span class=\"style6\">".toCharArray();
    _jsp_string6 = "\r\n  <tr>\r\n    <td height=\"12\" valign=\"top\"><!--DWLayoutEmptyCell-->&nbsp;</td>\r\n  </tr>\r\n   <tr>\r\n   \r\n    <td height=\"24\" valign=\"middle\"><table width=\"945\" height=\"25\" border=\"0\" cellpadding=\"0\" cellspacing=\"1\" bgcolor=\"#FF6600\">\r\n      <tr>\r\n        <td bgcolor=\"#DDF4C7\"><strong>&nbsp;<span class=\"style12\">\u2261".toCharArray();
    _jsp_string3 = "\r\n    <span class=\"style10\">\u6b22\u8fce\u60a8</span></span><span class=\"style10\">".toCharArray();
  }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -