📄 tree_jsp.java
字号:
package org.apache.jsp.admin;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.sql.*;
public final class tree_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static java.util.Vector _jspx_dependants;
public java.util.List getDependants() {
return _jspx_dependants;
}
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=gb2312");
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("<HTML><HEAD>\r\n");
out.write("<title>car</title>\r\n");
out.write("<META http-equiv=Content-Type content=text/html;charset=gb2312>\r\n");
out.write("<link href=\"../css/news2.css\" rel=\"stylesheet\" type=\"text/css\">\r\n");
out.write("<STYLE type=text/css>\r\n");
out.write("BODY {\r\n");
out.write("\tBACKGROUND: #d6dff7; MARGIN: 0px\r\n");
out.write("}\r\n");
out.write(".sec_menu {\r\n");
out.write("\tBORDER-RIGHT: white 0px solid; BACKGROUND: #d6dff7; OVERFLOW: hidden; BORDER-LEFT: white 0px solid; BORDER-BOTTOM: white 0px solid\r\n");
out.write("}\r\n");
out.write(".menu_title SPAN {\r\n");
out.write("\tFONT-WEIGHT: bold; LEFT: 10px; COLOR: #215dc6; POSITION: relative; TOP: 2px\r\n");
out.write("}\r\n");
out.write(".menu_title2 SPAN {\r\n");
out.write("\tFONT-WEIGHT: bold; LEFT: 10px; COLOR: #428eff; POSITION: relative; TOP: 2px\r\n");
out.write("}\r\n");
out.write("</STYLE>\r\n");
out.write("</HEAD>\r\n");
out.write("<script ID=\"clientEventHandlersJS\" LANGUAGE=\"javascript\">\r\n");
out.write("<!--\r\n");
out.write("function hydl() {\r\n");
out.write(" l = screen.width/2-210/2;\r\n");
out.write(" t = screen.height/2-160/2;\r\n");
out.write(" fHYDL = window.open('','fHYDL','scrollbars=no,toolbar=no,menubar=no,location=no,status=no,resizable=no,width=210,height=160,left='+l+',top='+t);\r\n");
out.write(" fHYDL.location.replace('getpwd.jsp');\r\n");
out.write(" fHYDL.opener = window.parent;\r\n");
out.write("}\r\n");
out.write("//-->\r\n");
out.write("</script>\r\n");
out.write("<BODY>\r\n");
out.write("<TABLE cellSpacing=0 cellPadding=0 width=115 align=center>\r\n");
out.write(" <TBODY> \r\n");
out.write(" <TR> \r\n");
out.write(" <TD height=50><a href=\"http://www.xmfangzi.com/bbs\" target=blank><img src=\"../images/bbs_logo.gif\" width=\"115\" height=\"47\" border=\"0\"></a></TD>\r\n");
out.write(" </TR>\r\n");
out.write(" </TBODY> \r\n");
out.write("</TABLE>\r\n");
out.write("<TABLE width=115 align=center cellPadding=0 cellSpacing=0>\r\n");
out.write(" <TBODY>\r\n");
out.write(" <TR> \r\n");
out.write(" <TD class=menu_title id=imgmenu1 background=../images/menudown.gif \r\n");
out.write(" height=25><span class=\"163s\"> 参数设置</span></TD>\r\n");
out.write(" </TR>\r\n");
out.write(" <TR> \r\n");
out.write(" <TD class=menu_title id=imgmenu1 height=25>\r\n");
out.write("<DIV class=sec_menu style=\"WIDTH: 115px\">\r\n");
out.write(" <table cellspacing=3 cellpadding=0 width=130 align=center>\r\n");
out.write(" <tbody>\r\n");
out.write(" <tr> \r\n");
out.write(" <td> - <a href=\"../bbsadmin/bbsname.jsp\" target=\"main\"> \r\n");
out.write(" 论坛名称</a></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr> \r\n");
out.write(" <td> - <a href=\"../bbsadmin/domain.jsp\" target=\"main\"> \r\n");
out.write(" 域名设置</a></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr> \r\n");
out.write(" <td> - <a href=\"../bbsadmin/sztype.jsp\" target=\"main\"> \r\n");
out.write(" 图片类型</a></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr> \r\n");
out.write(" <td> - <a href=\"../bbsadmin/szsize.jsp\" target=\"main\"> \r\n");
out.write(" 图片大小</a></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr> \r\n");
out.write(" <td> - <a href=\"../bbsadmin/szsign.jsp\" target=\"main\"> \r\n");
out.write(" 审核参数</a></td>\r\n");
out.write(" </tr>\r\n");
out.write(" </tbody>\r\n");
out.write(" </table>\r\n");
out.write(" </DIV>\r\n");
out.write("\t </TD>\r\n");
out.write(" </TR>\r\n");
out.write(" <TR> \r\n");
out.write(" <TD class=menu_title id=imgmenu1 background=../images/menudown.gif \r\n");
out.write(" height=25><span class=\"163s\"> 论坛管理</span></TD>\r\n");
out.write(" </TR>\r\n");
out.write(" <TR> \r\n");
out.write(" <TD id=submenu1> \r\n");
out.write(" <DIV class=sec_menu style=\"WIDTH: 115px\">\r\n");
out.write(" <table cellspacing=3 cellpadding=0 width=130 align=center>\r\n");
out.write(" <tbody>\r\n");
out.write(" <tr> \r\n");
out.write(" <td> - <a href=\"../user/user_manage.jsp\" target=\"main\"> \r\n");
out.write(" 用户管理</a></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr> \r\n");
out.write(" <td> - <a href=\"../bbsadmin/index.jsp?layer=0&\" target=\"main\"> \r\n");
out.write(" 论坛类别</a></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr> \r\n");
out.write(" <td> - <a href=\"../bbsadmin/title_manage.jsp\" target=\"main\"> \r\n");
out.write(" 论坛主题</a></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr> \r\n");
out.write(" <td> - <a href=\"../bbsadmin/reply_manage.jsp\" target=\"main\"> \r\n");
out.write(" 论坛回贴</a></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr> \r\n");
out.write(" <td> - <a href=\"../bbsadmin/bbs_arrest.jsp\" target=\"main\"> \r\n");
out.write(" 限关键词</a></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr> \r\n");
out.write(" <td> - <a href=\"../bbsadmin/managesms.jsp\" target=\"main\"> \r\n");
out.write(" 短信管理</a></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr> \r\n");
out.write(" <td> - <a href=\"logout.jsp\" target=\"main\"> \r\n");
out.write(" 退出系统</a></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr> \r\n");
out.write(" <td height=\"200\"> </td>\r\n");
out.write(" </tr>\r\n");
out.write(" </tbody>\r\n");
out.write(" </table>\r\n");
out.write(" </DIV>\r\n");
out.write(" </TD>\r\n");
out.write(" </TR>\t\r\n");
out.write(" </TBODY>\r\n");
out.write("</TABLE>\r\n");
out.write("</body>\r\n");
out.write("</html>\r\n");
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
String url="jdbc:odbc:db2000";
Connection conn= DriverManager.getConnection(url);
Statement stmt=conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_UPDATABLE);
String sql="select * from BBS_Cate";
ResultSet rs=stmt.executeQuery(sql);
out.write('\r');
out.write('\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);
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -