📄 _emaillist__jsp.java
字号:
/*
* JSP generated by Resin 2.0.3 (built Wed Oct 17 10:11:08 PDT 2001)
*/
import java.io.*;
import javax.servlet.*;
import javax.servlet.jsp.*;
import javax.servlet.jsp.tagext.*;
import javax.servlet.http.*;
import java.io.*;
import java.util.*;
import java.sql.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class _emaillist__jsp extends com.caucho.jsp.JavaPage{
private boolean _caucho_isDead;
public String getServletInfo() { return "database handler"; }
public void
_jspService(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException, javax.servlet.ServletException
{
com.caucho.jsp.QPageContext pageContext = (com.caucho.jsp.QPageContext) com.caucho.jsp.QJspFactory.create().getPageContext(this, request, response, null, true, 8192, true);
javax.servlet.jsp.JspWriter out = (javax.servlet.jsp.JspWriter) pageContext.getOut();
javax.servlet.ServletConfig config = getServletConfig();
javax.servlet.Servlet page = this;
javax.servlet.http.HttpSession session = pageContext.getSession();
javax.servlet.ServletContext application = pageContext.getServletContext();
response.setContentType("text/html;charset=gb2312");
request.setCharacterEncoding("GB2312");
try {
pageContext.write(_jsp_string0, 0, _jsp_string0.length);
pageContext.write(_jsp_string0, 0, _jsp_string0.length);
pageContext.write(_jsp_string1, 0, _jsp_string1.length);
pageContext.write(_jsp_string0, 0, _jsp_string0.length);
pageContext.write(_jsp_string0, 0, _jsp_string0.length);
pageContext.write(_jsp_string0, 0, _jsp_string0.length);
pageContext.write(_jsp_string0, 0, _jsp_string0.length);
pageContext.write(_jsp_string0, 0, _jsp_string0.length);
pageContext.write(_jsp_string2, 0, _jsp_string2.length);
test.bbsuser user;
user = (test.bbsuser) pageContext.getAttribute("user");
if (user == null) {
user = new test.bbsuser();
pageContext.setAttribute("user", user);
}
pageContext.write(_jsp_string0, 0, _jsp_string0.length);
String tempSTR,whereTo;byte[] tmpbyte;int method;tempSTR=(String)session.getValue("adminlogin");if (tempSTR!="true") {
pageContext.write(_jsp_string0, 0, _jsp_string0.length);
pageContext.forward("adminlog.jsp");
if (true) return;
pageContext.write(_jsp_string0, 0, _jsp_string0.length);
}
pageContext.write(_jsp_string3, 0, _jsp_string3.length);
int i;String strSQL;java.sql.ResultSet sqlRst;String username,useremail; i=1;sqlRst=user.listUser(1);while (sqlRst.next()) {username=sqlRst.getString("username");useremail=sqlRst.getString("useremail");if (useremail==null) { useremail="没填";} //'end if
pageContext.write(_jsp_string4, 0, _jsp_string4.length);
out.print((username));
pageContext.write(_jsp_string5, 0, _jsp_string5.length);
out.print((useremail));
pageContext.write(_jsp_string6, 0, _jsp_string6.length);
if (!sqlRst.next()){ continue;}i++;username=sqlRst.getString("username");useremail=sqlRst.getString("useremail");if (useremail==null) { useremail="没填";} //'end if
pageContext.write(_jsp_string7, 0, _jsp_string7.length);
out.print((username));
pageContext.write(_jsp_string5, 0, _jsp_string5.length);
out.print((useremail));
pageContext.write(_jsp_string8, 0, _jsp_string8.length);
i++;} //' end whilesqlRst.close();
pageContext.write(_jsp_string9, 0, _jsp_string9.length);
} catch (java.lang.Throwable _jsp_e) {
pageContext.handlePageException(_jsp_e);
} finally {
JspFactory.getDefaultFactory().releasePageContext(pageContext);
}
}
private com.caucho.java.LineMap _caucho_line_map;
private java.util.ArrayList _caucho_depends = new java.util.ArrayList();
public boolean _caucho_isModified()
{
if (_caucho_isDead)
return true;
if (com.caucho.util.CauchoSystem.getVersionId() != 2058990000)
return true;
for (int i = _caucho_depends.size() - 1; i >= 0; i--) {
com.caucho.vfs.Depend depend;
depend = (com.caucho.vfs.Depend) _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);
mergePath.addClassPath(getClass().getClassLoader());
_caucho_line_map = new com.caucho.java.LineMap("_emaillist__jsp.java", "d:\\guestbook\\jsp-access\\emaillist.jsp");
_caucho_line_map.add("/emaillist.jsp", 1, 1);
_caucho_line_map.add("/incdb.jsp", 2, 1);
_caucho_line_map.add("/emaillist.jsp", 1, 35);
_caucho_line_map.add("/incdb.jsp", 2, 38);
_caucho_line_map.add("d:\\guestbook\\jsp-access\\emaillist.jsp", 4, 44);
_caucho_line_map.add(5, 51);
_caucho_line_map.add(13, 67);
_caucho_line_map.add(14, 70);
_caucho_line_map.add(56, 76);
_caucho_line_map.add(72, 106);
_caucho_line_map.add(73, 108);
_caucho_line_map.add(74, 110);
_caucho_line_map.add(87, 136);
_caucho_line_map.add(88, 138);
com.caucho.vfs.Depend depend;
depend = new com.caucho.vfs.Depend(mergePath.lookup("file:/d:/guestbook/jsp-access/incdb.jsp"), 972283860000L, 251L);
_caucho_depends.add(depend);
depend = new com.caucho.vfs.Depend(mergePath.lookup("file:/d:/guestbook/jsp-access/emaillist.jsp"), 1006593504000L, 2545L);
_caucho_depends.add(depend);
}
private static byte []_jsp_string2;
private static byte []_jsp_string4;
private static byte []_jsp_string3;
private static byte []_jsp_string7;
private static byte []_jsp_string8;
private static byte []_jsp_string5;
private static byte []_jsp_string1;
private static byte []_jsp_string9;
private static byte []_jsp_string6;
private static byte []_jsp_string0;
static {
try {
_jsp_string2 = "\r\n<!--导入结束-->\r\n".getBytes("GB2312");
_jsp_string4 = "\r\n <tr>\r\n <td width=\"20%\" align=\"center\">".getBytes("GB2312");
_jsp_string3 = "\r\n\r\n<html>\r\n\r\n<head>\r\n<meta http-equiv=\"Content-Language\" content=\"zh-cn\">\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n<meta name=\"GENERATOR\" content=\"Microsoft FrontPage 4.0\">\r\n<meta name=\"ProgId\" content=\"FrontPage.Editor.Document\">\r\n<title>邮件列表</title>\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"css/css02.css\">\r\n\r\n</head>\r\n\r\n<body>\r\n<table border=\"0\" width=\"100%\">\r\n <tr>\r\n <td width=\"25%\" align=\"center\"><a href=\"boardmanager.jsp\" target=\"_self\">版面管理</a></td>\r\n <td width=\"25%\" align=\"center\"><a href=\"usermanager.jsp\" target=\"_self\">注册用户管理</a></td>\r\n <td width=\"25%\" align=\"center\"><a href=\"emaillist.jsp\" target=\"_self\">用户邮件列表</a></td>\r\n <td width=\"25%\" align=\"center\"><a href=\"boardmanager.jsp?method=6\" target=\"_self\">退出</a></td>\r\n </tr>\r\n <tr>\r\n <td width=\"100%\" colspan=\"4\">\r\n <hr>\r\n </td>\r\n </tr>\r\n</table>\r\n\r\n<table border=\"1\" width=\"100%\" bordercolorlight=\"#FFFFFF\" cellspacing=\"0\" cellpadding=\"0\" bordercolordark=\"#000000\">\r\n <tr>\r\n <td width=\"100%\" colspan=\"4\" bgcolor=\"#5d91c0\">\r\n <p align=\"center\"><font color=\"#FFFFFF\">邮件列表</font></td>\r\n </tr>\r\n <tr>\r\n <td width=\"20%\" align=\"center\">网名</td>\r\n <td width=\"30%\" align=\"center\">E_mail</td>\r\n <td width=\"20%\" align=\"center\">网名</td>\r\n <td width=\"30%\" align=\"center\">E_mail</td>\r\n </tr>\r\n".getBytes("GB2312");
_jsp_string7 = "\r\n <td width=\"20%\" align=\"center\">".getBytes("GB2312");
_jsp_string8 = "</td>\r\n </tr>\r\n".getBytes("GB2312");
_jsp_string5 = "</td>\r\n <td width=\"30%\" align=\"center\">".getBytes("GB2312");
_jsp_string1 = "<!--开始导入packages-->\r\n".getBytes("GB2312");
_jsp_string9 = " \r\n</table>\r\n\r\n</body>\r\n\r\n</html>\r\n".getBytes("GB2312");
_jsp_string6 = "</td>\r\n".getBytes("GB2312");
_jsp_string0 = "\r\n".getBytes("GB2312");
} catch (java.io.UnsupportedEncodingException e) {
e.printStackTrace();
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -