📄 zaixiandiaocha_jsp.java
字号:
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.sql.*;
import liangjuyan.conndb;
public final class zaixiandiaocha_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,
"", 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("\r\n");
conndb conn = new conndb();
String username=(String)session.getAttribute("username");
ResultSet rs_haha = conn.executeQuery("select top 5 id,title ,detail from haha where htype=1");
int s_id = 0;
String s_title="";
String s_detail="";
ResultSet rs_ha= conn.executeQuery("select top 5 id,title ,detail from haha where htype=0");
int id = 0;
String title="";
String detail="";
out.write("\r\n");
out.write("<html>\r\n");
out.write("<head>\r\n");
out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n");
out.write("<title>无标题文档</title>\r\n");
out.write("<style type=\"text/css\">\r\n");
out.write("<!--\r\n");
out.write(".style2 {font-size: 16px}\r\n");
out.write(".style3 {color: #000000}\r\n");
out.write(".style4 {font-size: 16px; color: #000000; }\r\n");
out.write(".style5 {color: #999999}\r\n");
out.write(".style6 {color: #990099}\r\n");
out.write(".style7 {color: #0000FF}\r\n");
out.write(".style9 {color: #66CC66}\r\n");
out.write(".style10 {color: #9900FF}\r\n");
out.write(".style11 {color: #0066FF}\r\n");
out.write(".style12 {color: #993399}\r\n");
out.write(".style13 {color: #0000CC}\r\n");
out.write(".style14 {color: #333333}\r\n");
out.write(".style15 {color: #CC66FF}\r\n");
out.write(".style16 {color: #669900}\r\n");
out.write("-->\r\n");
out.write("</style>\r\n");
out.write("</head>\r\n");
out.write("\r\n");
out.write("<body>\r\n");
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "daohang.jsp", out, false);
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "dz.jsp", out, false);
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "zhongjian.jsp", out, false);
out.write("\r\n");
out.write("<table width=\"729\" align=\"center\">\r\n");
out.write(" <tr>\r\n");
out.write(" <td width=\"157\" valign=\"top\"><table border=\"0\" bgcolor=\"#f1f5ff\">\r\n");
out.write(" <tr>\r\n");
out.write(" <td width=\"143\" valign=\"top\">");
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "aa.jsp", out, false);
out.write("</td>\r\n");
out.write(" </tr>\r\n");
out.write(" </table></td><td width=\"560\" valign=\"top\"><table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
out.write(" <tr>\r\n");
out.write(" <td ><table width=\"100%\" height=\"53\" background=\"images/ri.png\" >\r\n");
out.write(" <tr>\r\n");
out.write(" <td><marquee direction=\"left\" scrollamount=\"2\"><span class=\"style5\">发布</span><span class=\"style6\">供求</span><span class=\"style7\">信息</span><span class=\"style9\">让你</span><span class=\"style5\">享受</span><span class=\"style10\">便利</span>,<span class=\"style11\">十分</span><span class=\"style5\">可是</span><span class=\"style12\">另外</span><span class=\"style13\">胜利</span><span class=\"style14\">棵分</span><span class=\"style15\">水岭</span><span class=\"style16\">法货物</span>!</marquee></td>\r\n");
out.write(" </tr>\r\n");
out.write(" </table></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td valign=\"top\"><form action=\"zaixiandiaocha_deal.jsp\" name=\"myform\">\r\n");
out.write(" <table width=\"100%\" border=\"0\" >\r\n");
out.write(" <tr bgcolor=\"#CEE7E5\">\r\n");
out.write(" <td width=\"33%\" height=\"25\"><div align=\"center\">用户名</div></td>\r\n");
out.write(" <td width=\"67%\"><div align=\"center\">\r\n");
out.write(" <input name=\"username\" type=\"text\" size=\"40\">\r\n");
out.write(" </div></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr bgcolor=\"#E7F3F2\">\r\n");
out.write(" <td height=\"15\" colspan=\"2\"> </td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr bgcolor=\"#E4E6E9\">\r\n");
out.write(" <td height=\"25\"><div align=\"center\">在本网站买过的东西</div></td>\r\n");
out.write(" <td><div align=\"center\">\r\n");
out.write(" <input name=\"maiguodongxi\" type=\"text\" size=\"40\">\r\n");
out.write(" </div></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr bgcolor=\"#E7F3F2\">\r\n");
out.write(" <td height=\"15\" colspan=\"2\" bgcolor=\"#F1F2F3\"> </td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr bgcolor=\"#EDE4F7\">\r\n");
out.write(" <td height=\"25\"><div align=\"center\">是怎样知道这样网站的</div></td>\r\n");
out.write(" <td><div align=\"center\">\r\n");
out.write(" <label>\r\n");
out.write(" <input type=\"radio\" name=\"zmzd\" value=\"书\">\r\n");
out.write(" 书</label>\r\n");
out.write(" <label>\r\n");
out.write(" <input type=\"radio\" name=\"zmzd\" value=\"电视\">\r\n");
out.write(" 电视</label>\r\n");
out.write(" <label>\r\n");
out.write(" <input type=\"radio\" name=\"zmzd\" value=\"朋友介绍\">\r\n");
out.write(" 朋友介绍</label>\r\n");
out.write(" <label>\r\n");
out.write(" <input type=\"radio\" name=\"zmzd\" value=\"广告\">\r\n");
out.write(" 广告</label>\r\n");
out.write(" </div></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr bgcolor=\"#E4E6E9\">\r\n");
out.write(" <td height=\"15\" colspan=\"2\" bgcolor=\"#F3EDFA\"> </td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr bgcolor=\"#F1F5FF\">\r\n");
out.write(" <td height=\"25\"><div align=\"center\">想推荐给朋友吗</div></td>\r\n");
out.write(" <td><div align=\"center\">\r\n");
out.write(" <p>\r\n");
out.write(" <label>\r\n");
out.write(" <input type=\"radio\" name=\"tjpy\" value=\"想\">\r\n");
out.write(" 想</label>\r\n");
out.write(" <label>\r\n");
out.write(" <input type=\"radio\" name=\"tjpy\" value=\"不想\">\r\n");
out.write(" 不想</label>\r\n");
out.write(" <br>\r\n");
out.write(" </p>\r\n");
out.write(" </div></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr bgcolor=\"#F7F9FF\">\r\n");
out.write(" <td height=\"15\" colspan=\"2\"> </td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"25\" colspan=\"2\" bgcolor=\"#CEE7E5\"> 对以上东西的评价 </td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"40\" colspan=\"2\" bgcolor=\"#E7F3F2\">\r\n");
out.write(" \r\n");
out.write(" <textarea name=\"pingjia\" cols=\"70\" rows=\"3\" id=\"pingjia\"></textarea> </td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"25\" colspan=\"2\" bgcolor=\"#E4E6E9\"> 你觉得在网上购物与去商场的区别 </td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr bgcolor=\"#F1F2F3\">\r\n");
out.write(" <td colspan=\"2\">\r\n");
out.write(" <textarea name=\"qubie\" cols=\"70\" rows=\"3\" id=\"qubie\"></textarea> </td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr bgcolor=\"#D4D0C8\">\r\n");
out.write(" <td height=\"25\" colspan=\"2\" bgcolor=\"#EDE4F7\"> 觉得本站应该在那些问题上改进\r\n");
out.write(" </td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr bgcolor=\"#F3EDFA\">\r\n");
out.write(" <td height=\"36\" colspan=\"2\">\r\n");
out.write(" <textarea name=\"gaijin\" cols=\"70\" rows=\"3\" id=\"gaijin\"></textarea> </td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr bgcolor=\"#F1F5FF\">\r\n");
out.write(" <td height=\"25\" colspan=\"2\"> 希望本站多发布关于什么的信息\r\n");
out.write(" </td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"34\" colspan=\"2\" bgcolor=\"#F7F9FF\">\r\n");
out.write(" <textarea name=\"fabuxinxi\" cols=\"70\" rows=\"3\" id=\"fabuxinxi\"></textarea> </td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"40\" colspan=\"2\"> \r\n");
out.write(" <input type=\"button\" name=\"Submit3\" value=\"提交\" onClick=\"check2()\">\r\n");
out.write(" \r\n");
out.write(" <input type=\"reset\" name=\"Submit4\" value=\"重置\"></td>\r\n");
out.write(" </tr>\r\n");
out.write(" </table>\r\n");
out.write(" </form></td>\r\n");
out.write(" </tr>\r\n");
out.write(" </table>\r\n");
out.write("</td>\r\n");
out.write(" </tr></table>\r\n");
out.write("</body>\r\n");
out.write("</html>\r\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 + -