📄 _right__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.*;
public class _right__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.dbcontact.ContactBean contact;
contact = (bbs.beans.dbcontact.ContactBean) pageContext.getAttribute("contact");
if (contact == null) {
contact = new bbs.beans.dbcontact.ContactBean();
pageContext.setAttribute("contact", contact);
}
out.write(_jsp_string1, 0, _jsp_string1.length);
Statement stm=contact.getStm();
ResultSet rst;
if(request.getParameter("top")==null&&session.getAttribute("userid")!=null)//\u8bba\u575b\u9996\u9875
{
rst=stm.executeQuery("select boardid from userbbs where clicks=(select max(clicks) from userbbs where userid="+session.getAttribute("userid")+")");
if(rst.next())
response.sendRedirect("display.jsp?boardid="+rst.getString(1));
}
out.write(_jsp_string2, 0, _jsp_string2.length);
int board;
rst=stm.executeQuery("select top 10 * from topicplan,userinfo,boardinfo where topicplan.userid=userinfo.userid and topicplan.boardid=boardinfo.boardid order by topicplan.pubtime desc");
while(rst.next())
{board=rst.getInt("boardid");
out.write(_jsp_string3, 0, _jsp_string3.length);
out.print((rst.getInt("state")));
out.write(_jsp_string4, 0, _jsp_string4.length);
out.print((rst.getInt("moodnum")));
out.write(_jsp_string5, 0, _jsp_string5.length);
out.print((rst.getInt("parentid")));
out.write(_jsp_string6, 0, _jsp_string6.length);
out.print((board));
out.write(_jsp_string7, 0, _jsp_string7.length);
out.print((rst.getString("topic")));
out.write(_jsp_string8, 0, _jsp_string8.length);
out.print((rst.getString("username")));
out.write(_jsp_string9, 0, _jsp_string9.length);
out.print((rst.getInt("replynum")));
out.write(_jsp_string9, 0, _jsp_string9.length);
out.print((rst.getInt("clicksnum")));
out.write(_jsp_string10, 0, _jsp_string10.length);
out.print((board));
out.write(_jsp_string7, 0, _jsp_string7.length);
out.print((rst.getString("boardname")));
out.write(_jsp_string11, 0, _jsp_string11.length);
}
out.write(_jsp_string12, 0, _jsp_string12.length);
rst=stm.executeQuery("select top 10 * from topicplan,userinfo,boardinfo where topicplan.userid=userinfo.userid and topicplan.boardid=boardinfo.boardid order by topicplan.clicksnum desc");
while(rst.next())
{ board=rst.getInt("boardid");
out.write(_jsp_string3, 0, _jsp_string3.length);
out.print((rst.getInt("state")));
out.write(_jsp_string4, 0, _jsp_string4.length);
out.print((rst.getInt("moodnum")));
out.write(_jsp_string5, 0, _jsp_string5.length);
out.print((rst.getInt("parentid")));
out.write(_jsp_string6, 0, _jsp_string6.length);
out.print((board));
out.write(_jsp_string7, 0, _jsp_string7.length);
out.print((rst.getString("topic")));
out.write(_jsp_string8, 0, _jsp_string8.length);
out.print((rst.getString("username")));
out.write(_jsp_string9, 0, _jsp_string9.length);
out.print((rst.getInt("replynum")));
out.write(_jsp_string9, 0, _jsp_string9.length);
out.print((rst.getInt("clicksnum")));
out.write(_jsp_string10, 0, _jsp_string10.length);
out.print((board));
out.write(_jsp_string7, 0, _jsp_string7.length);
out.print((rst.getString("boardname")));
out.write(_jsp_string11, 0, _jsp_string11.length);
}
out.write(_jsp_string13, 0, _jsp_string13.length);
rst.close();
stm.close();
} 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("_right__jsp.java", "foo");
_caucho_line_map.add("/right.jsp", 3, 30);
_caucho_line_map.add(4, 37);
_caucho_line_map.add(56, 47);
_caucho_line_map.add(61, 52);
_caucho_line_map.add(62, 54);
_caucho_line_map.add(62, 56);
_caucho_line_map.add(62, 58);
_caucho_line_map.add(62, 60);
_caucho_line_map.add(63, 62);
_caucho_line_map.add(64, 64);
_caucho_line_map.add(65, 66);
_caucho_line_map.add(66, 68);
_caucho_line_map.add(66, 70);
_caucho_line_map.add(68, 72);
_caucho_line_map.add(93, 74);
_caucho_line_map.add(98, 79);
_caucho_line_map.add(99, 81);
_caucho_line_map.add(99, 83);
_caucho_line_map.add(99, 85);
_caucho_line_map.add(99, 87);
_caucho_line_map.add(100, 89);
_caucho_line_map.add(101, 91);
_caucho_line_map.add(102, 93);
_caucho_line_map.add(103, 95);
_caucho_line_map.add(103, 97);
_caucho_line_map.add(105, 99);
_caucho_line_map.add(122, 101);
com.caucho.vfs.Depend depend;
depend = new com.caucho.vfs.Depend(appDir.lookup("right.jsp"), "87LSEuy9uZuUQnmCIDhrkw==", false);
_caucho_depends.add(depend);
}
private final static char []_jsp_string6;
private final static char []_jsp_string4;
private final static char []_jsp_string11;
private final static char []_jsp_string12;
private final static char []_jsp_string8;
private final static char []_jsp_string0;
private final static char []_jsp_string10;
private final static char []_jsp_string13;
private final static char []_jsp_string9;
private final static char []_jsp_string5;
private final static char []_jsp_string3;
private final static char []_jsp_string1;
private final static char []_jsp_string7;
private final static char []_jsp_string2;
static {
_jsp_string6 = "&boardid=".toCharArray();
_jsp_string4 = ".gif\" width=\"16\" height=\"16\"></span> </div></td>\r\n <td align=\"left\"><span class=\"style3\"> <img src=\"mood/face".toCharArray();
_jsp_string11 = "</a></span></td>\r\n </tr>\r\n ".toCharArray();
_jsp_string12 = "\r\n </table></td>\r\n </tr>\r\n <tr>\r\n <td height=\"36\" valign=\"middle\"><!--DWLayoutEmptyCell--> </td>\r\n </tr>\r\n <tr>\r\n <td height=\"30\" align=\"center\" valign=\"middle\"><table width=\"662\" height=\"29\" border=\"0\" cellspacing=\"1\" bgcolor=\"#FF6600\">\r\n <!--DWLayoutTable-->\r\n <tr>\r\n <td width=\"635\" height=\"27\" align=\"center\" valign=\"middle\" bgcolor=\"#E7F7D6\"><span class=\"style4\"><span class=\"style7\">\u4eba\u6c14\u6700\u65fa10\u5e16</span> <img src=\"pic/face4.gif\" width=\"13\" height=\"15\"></span></td>\r\n </tr>\r\n </table></td>\r\n </tr>\r\n <tr>\r\n <td height=\"43\" align=\"center\" valign=\"top\"><table width=\"662\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"1\" bgcolor=\"#FF6600\">\r\n <!--DWLayoutTable-->\r\n <tr align=\"center\" valign=\"middle\" bordercolor=\"#006699\" bgcolor=\"#E5F7D5\">\r\n <td width=\"59\" height=\"19\"><span class=\"style3 style1\"><strong> <img src=\"images/postnew.gif\" width=\"10\" height=\"11\"> \u72b6\u6001 </strong></span></td>\r\n <td width=\"333\"><strong> <img src=\"images/home.gif\" width=\"12\" height=\"12\"> \u4e3b \u9898 </strong></span></td>\r\n <td width=\"75\"><strong> \u4f5c \u8005 </strong></td>\r\n <td width=\"50\"><strong>\u56de \u590d</strong></td>\r\n <td width=\"48\"><strong>\u4eba \u6c14</strong></td>\r\n <td width=\"90\"><strong>\u6240\u5c5e\u7248\u5757</strong></td>\r\n </tr>\r\n ".toCharArray();
_jsp_string8 = "</a></span></td>\r\n <td><span class=\"style3\">".toCharArray();
_jsp_string0 = "\r\n<html>\r\n".toCharArray();
_jsp_string10 = "</span></td>\r\n <td><span class=\"style3\"><a href=\"display.jsp?boardid=".toCharArray();
_jsp_string13 = "\r\n </table></td>\r\n </tr>\r\n <tr>\r\n <td height=\"92\" align=\"center\" valign=\"middle\"><table width=\"661\" height=\"44\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"1\" bgcolor=\"#FF6600\">\r\n <!--DWLayoutTable-->\r\n <tr>\r\n <td width=\"753\" height=\"18\" align=\"center\" valign=\"middle\" bgcolor=\"#E7F7D6\"><span class=\"style6\">[\u56db\u6d77\u8bba\u575b]bbs\u7ad9\u56fe\u4f8b</span></td>\r\n </tr>\r\n <tr>\r\n <td height=\"24\" align=\"center\" valign=\"middle\" bgcolor=\"#E7F7D6\"><img src=\"pic/face0.gif\" width=\"16\" height=\"16\">\u5f00\u653e\u7684\u4e3b\u9898 <img src=\"pic/face3.gif\" width=\"16\" height=\"16\">\u56de\u590d\u8d85\u8fc710\u5e16 <img src=\"pic/face2.gif\" width=\"16\" height=\"16\">\u9501\u5b9a\u7684\u4e3b\u9898 <img src=\"pic/face4.gif\" width=\"13\" height=\"15\">\u70ed\u95e8\u4e3b\u9898 <img src=\"pic/face5.gif\" width=\"17\" height=\"17\">\u603b\u56fa\u9876\u4e3b\u9898 <img src=\"pic/face6.gif\" width=\"17\" height=\"17\">\u56fa\u9876\u4e3b\u9898 <img src=\"pic/face7.gif\" width=\"15\" height=\"17\">\u533a\u56fa\u9876\u4e3b\u9898 <img src=\"pic/face1.gif\" width=\"17\" height=\"17\">\u7cbe\u534e\u4e3b\u9898</td>\r\n </tr>\r\n </table></td>\r\n </tr>\r\n</table>\r\n</body>\r\n</html>\r\n".toCharArray();
_jsp_string9 = "</span></td>\r\n <td><span class=\"style3\">".toCharArray();
_jsp_string5 = ".gif\" width=\"15\" height=\"15\"> <a href=\"displayplan.jsp?parentid=".toCharArray();
_jsp_string3 = "\r\n <tr align=\"center\" valign=\"middle\" bgcolor=\"#E5F7D5\">\r\n <td height=\"21\"><div align=\"center\"><span class=\"style3\"><img src=\"pic/face".toCharArray();
_jsp_string1 = "\r\n".toCharArray();
_jsp_string7 = "\">".toCharArray();
_jsp_string2 = "\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n<LINK href=\"css/cs.css\" type=text/css rel=stylesheet>\r\n\r\n<title>\u65e0\u6807\u9898\u6587\u6863</title>\r\n<style type=\"text/css\">\r\n<!--\r\n.style5 {font-weight: bold}\r\nbody {\r\n background-image: url(images/back.gif);\r\n}\r\n.style7 {font-weight: bold; color: #FF0000; }\r\n.style9 {color: #FF0000}\r\n.style6 { color: #333333;\r\n font-weight: bold;\r\n}\r\n-->\r\n</style>\r\n</head>\r\n\r\n<body>\r\n<table width=\"577\" height=\"273\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n <!--DWLayoutTable-->\r\n <tr>\r\n <td width=\"662\" height=\"29\" align=\"center\" valign=\"middle\"><table width=\"662\" height=\"23\" border=\"0\" cellspacing=\"1\" bgcolor=\"#FF6600\">\r\n <!--DWLayoutTable-->\r\n <tr>\r\n <td width=\"659\" height=\"26\" align=\"center\" valign=\"middle\" bgcolor=\"#E7F7D6\"><span class=\"style4 style9\"><strong>\u6700\u65b010\u5e16</strong></span> <img src=\"images/new.GIF\" width=\"23\" height=\"15\"></td>\r\n </tr>\r\n </table></td>\r\n </tr>\r\n <tr>\r\n <td height=\"42\" align=\"center\" valign=\"top\">\r\n <table width=\"662\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"1\" bgcolor=\"#FF6600\">\r\n <!--DWLayoutTable-->\r\n <tr align=\"center\" valign=\"middle\" bordercolor=\"#006699\" bgcolor=\"#E5F7D5\">\r\n <td width=\"59\" height=\"19\"><span class=\"style1 style3 style5\"> <img src=\"images/postnew.gif\" width=\"10\" height=\"11\"> \u72b6\u6001 </span></td>\r\n <td width=\"333\"><span class=\"style1 style3 style5\"> <img src=\"images/home.gif\" width=\"12\" height=\"12\"> \u4e3b \u9898 </span></td>\r\n <td width=\"75\"><span class=\"style1 style3 style5\"> \u4f5c \u8005 </span></td>\r\n <td width=\"50\"><span class=\"style1 style3 style5\">\u56de \u590d</span></td>\r\n <td width=\"48\"><span class=\"style1 style3 style5\">\u4eba \u6c14</span></td>\r\n <td width=\"90\"><span class=\"style5\">\u6240\u5c5e\u7248\u5757</span></td>\r\n </tr>\r\n ".toCharArray();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -