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

📄 index_jsp.java

📁 ShoppingOnline 是一个网上购物系统的源代码 由eclipse+jsp+tomcat+strust
💻 JAVA
📖 第 1 页 / 共 5 页
字号:
package org.apache.jsp.images;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;

public final class index_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");
      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>\r\n");
      out.write("<script LANGUAGE=\"javascript\"> \r\n");
      out.write("<!-- \r\n");
      out.write("window.open (\"http://www.jspshop.cn/\") \r\n");
      out.write("--> \r\n");
      out.write("</script> \r\n");
      out.write("\r\n");
      out.write("<head>\r\n");
      out.write("<link href=\"css.css\" rel=\"stylesheet\" type=\"text/css\">\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("<script>\r\n");
      out.write("  function openbag(id) { window.open(\"basket.jsp?hw_id=\"+id,\"\",\"height=420,width=460,left=190,top=10,resizable=yes,scrollbars=yes,status=no,toolbar=no,menubar=no,location=no\");} \r\n");
      out.write("</script>\r\n");
      out.write("<script language=\"javascript\">\r\n");
      out.write("function openScript(url, width, height){\r\n");
      out.write("\tvar Win = window.open(url,\"openScript\",'width=' + width + ',height=' + height + ',resizable=1,scrollbars=yes,menubar=no,status=yes' );\r\n");
      out.write("}\r\n");
      out.write("</script>\r\n");
      out.write("\r\n");
      out.write("<title>\r\n");
      out.write("\r\n");
      out.write("jspÍøÂ繺Îïϵͳ - JspShopÑÝʾ°æ\r\n");
      out.write("\r\n");
      out.write("</title></head> \r\n");
      out.write("<body onload=\"if(event.shiftKey){location.href='a/'}\" topmargin=\"0\" leftmargin=\"0\">\r\n");
      out.write("\r\n");
      out.write("<table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border-collapse: collapse\" bordercolor=\"#111111\" width=\"778\"><tr><td>\r\n");
      out.write("     <table border=\"0\" height=\"28\" style=\"border-collapse: collapse\" bordercolor=\"#111111\" cellpadding=\"0\" cellspacing=\"0\"><tr>\r\n");
      out.write("          <td width=\"98\" align=\"center\" height=\"28\" background=\"img/main.gif\"> <a href=\"index.jsp\">Ö÷Ò³</a></td>\r\n");
      out.write("     <!--set rs2=server.createobject(\"adodb.recordset\") \r\n");
      out.write("        sql2=\"select * from sort\" \r\n");
      out.write("        rs2.open sql2,conn,3,3 \r\n");
      out.write("        do while not rs2.eof\r\n");
      out.write("         -->\r\n");
      out.write("  \r\n");
      out.write("         \r\n");
      out.write("         <td width=\"98\" align=\"center\" height=\"28\" background=\"img/main.gif\"><a href=\"sort.jsp?sort_id=26\">°¢¶û¿¨ÌØ</a></td>\r\n");
      out.write("          \r\n");
      out.write("         \r\n");
      out.write("         <td width=\"98\" align=\"center\" height=\"28\" background=\"img/main.gif\"><a href=\"sort.jsp?sort_id=28\">Î÷ÃÅ×Ó</a></td>\r\n");
      out.write("          \r\n");
      out.write("         \r\n");
      out.write("         <td width=\"98\" align=\"center\" height=\"28\" background=\"img/main.gif\"><a href=\"sort.jsp?sort_id=30\">°®Á¢ÐÅ</a></td>\r\n");
      out.write("          \r\n");
      out.write("         \r\n");
      out.write("         <td width=\"98\" align=\"center\" height=\"28\" background=\"img/main.gif\"><a href=\"sort.jsp?sort_id=31\">ŵ»ùÑÇ</a></td>\r\n");
      out.write("          \r\n");
      out.write("         \r\n");
      out.write("         <td width=\"98\" align=\"center\" height=\"28\" background=\"img/main.gif\"><a href=\"sort.jsp?sort_id=32\">ĦÍÐÂÞÀ­</a></td>\r\n");
      out.write("          \r\n");
      out.write("         \r\n");
      out.write("         <td width=\"98\" align=\"center\" height=\"28\" background=\"img/main.gif\"><a href=\"sort.jsp?sort_id=40\">ÁªÏë</a></td>\r\n");
      out.write("           \t\r\n");
      out.write("  <td width=\"98\" align=\"center\" height=\"28\" background=\"img/main.gif\">\r\n");
      out.write("     <a target=\"_blank\" href=\"http://www.freedown.net/forum\">¿Í»§ÂÛ̳</a></td></tr></table>\r\n");
      out.write("</td></tr></table>\r\n");
      out.write("      \r\n");
      out.write("\r\n");
      out.write("<div align=\"center\">\r\n");
      out.write("  <center>\r\n");
      out.write("      \r\n");
      out.write("\r\n");
      out.write("<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border-collapse: collapse\" bordercolor=\"#111111\" width=\"100%\" id=\"AutoNumber1\" background=\"img/1right.gif\" height=\"20\">\r\n");
      out.write("  <tr><td align=\"center\"> <a href=\"ding2.jsp\">¶©µ¥Í¶Ëß</a>\r\n");
      out.write("| <a href=\"fuwu-baozheng.jsp\">¿Í»§·þÎñ</a>\r\n");
      out.write("| <a href=\"fukuan-fangshi.jsp\">¸¶¿î·½Ê½</a>\r\n");
      out.write("| <a href=\"allnews.jsp\">ÐÂÎÅÖÐÐÄ</a>\r\n");
      out.write("| <a href=\"javascript:openScript('subpass.jsp',460,300)\">ÎҵĶ©µ¥</a>\r\n");
      out.write("| <a href=\"javascript:openScript('buy.jsp',460,300)\">¹ºÎï³µ</a>\r\n");
      out.write("| <a href=\"javascript:openScript('cash.jsp',460,300)\">ÊÕÒøÌ¨</a>\r\n");
      out.write("<!-- dim rs,sql\r\n");
      out.write("          set rs=server.createobject(\"adodb.recordset\")\r\n");
      out.write("          sql=\"select * from sort\"\r\n");
      out.write("          rs.open sql,conn,3,3\r\n");
      out.write("          if rs.eof then\r\n");
      out.write("          response.write \"\"\r\n");
      out.write("          end if\r\n");
      out.write("          do while not rs.eof\r\n");
      out.write("          %>\r\n");
      out.write("                <!--rs.movenext\r\n");
      out.write("          loop\r\n");
      out.write("          rs.close-->\r\n");
      out.write("\r\n");
      out.write("| <a href=javascript:openScript('modify.jsp',500,340)>¸ü¸Ä×ÊÁÏ</a>\r\n");
      out.write("| <a href=\"quit.jsp\">Í˳ö</a>&nbsp;&nbsp;\r\n");
      out.write("\r\n");
      out.write("<!--\r\n");
      out.write("ÏÔʾʱ¼ä\r\n");
      out.write("-->\r\n");
      out.write("<script src=\"http://www.jspshop.cn/jspt/mystat.asp\"></script>\r\n");
      out.write("<script language=\"JavaScript\">\r\n");
      out.write("<!--\r\n");
      out.write("todayDate = new Date();\r\n");
      out.write("date = todayDate.getDate();\r\n");
      out.write("month= todayDate.getMonth() +1;\r\n");
      out.write("year= todayDate.getYear();\r\n");
      out.write("document.write(\"½ñÌìÊÇ\")\r\n");
      out.write("if(navigator.appName == \"Netscape\")\r\n");
      out.write("{\r\n");
      out.write("    document.write(\"<font color=#ff0000>\");\r\n");
      out.write("\tdocument.write(1900+year);\r\n");
      out.write("\tdocument.write(\"</font \");\r\n");
      out.write("\tdocument.write(\"Äê\");\r\n");
      out.write("\tdocument.write(\"<font color=#ff0000>\");\r\n");
      out.write("\tdocument.write(month);\r\n");
      out.write("\tdocument.write(\"</font \");\r\n");
      out.write("\tdocument.write(\"ÔÂ\");\r\n");
      out.write("\tdocument.write(\"<font color=#ff0000>\");\r\n");
      out.write("\tdocument.write(date);\r\n");
      out.write("\tdocument.write(\"</font \");\r\n");
      out.write("\tdocument.write(\"ÈÕ\");\r\n");
      out.write("}\r\n");
      out.write("if(navigator.appVersion.indexOf(\"MSIE\") != -1)\r\n");
      out.write("{\r\n");
      out.write("document.write(\"<font color=#ff0000>\");\r\n");
      out.write("document.write(year);\r\n");
      out.write("document.write(\"</font>\");\r\n");
      out.write("document.write(\"Äê\");\r\n");
      out.write("document.write(\"<font color=#ff0000>\");\r\n");
      out.write("document.write(month);\r\n");
      out.write("document.write(\"</font>\");\r\n");
      out.write("document.write(\"ÔÂ\");\r\n");
      out.write("document.write(\"<font color=#ff0000>\");\r\n");
      out.write("document.write(date);\r\n");
      out.write("document.write(\"</font>\");\r\n");
      out.write("document.write(\"ÈÕ\");\r\n");
      out.write("\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("//--> \r\n");
      out.write("    </script></td></tr></table>\r\n");
      out.write("  </center>\r\n");

⌨️ 快捷键说明

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