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

📄 index_jsp.java

📁 网上服装店 能让用户在该网站上对物品进行上传购买等操作。该设计为原版
💻 JAVA
📖 第 1 页 / 共 3 页
字号:
package org.apache.jsp;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.sql.*;
import com.bwm.db.Condb;
import java.sql.*;
import java.sql.*;
import com.bwm.db.Condb;
import java.sql.*;
import java.sql.*;
import com.bwm.db.Condb;
import java.sql.*;

public final class index_jsp extends org.apache.jasper.runtime.HttpJspBase
    implements org.apache.jasper.runtime.JspSourceDependent {

  private static java.util.Vector _jspx_dependants;

  static {
    _jspx_dependants = new java.util.Vector(5);
    _jspx_dependants.add("/user/top.jsp");
    _jspx_dependants.add("/user/left.jsp");
    _jspx_dependants.add("/user/search.jsp");
    _jspx_dependants.add("/user/splist.jsp");
    _jspx_dependants.add("/user/foot.jsp");
  }

  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");
      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("<link href=\"css/style.css\" rel=\"stylesheet\">\r\n");
      out.write("</head>\r\n");
      out.write("<script language=\"javascript\">\r\n");
      out.write("<!--\r\n");
      out.write("\tfunction check(){\r\n");
      out.write("\t\tif(form3.shop.value==\"\"){\r\n");
      out.write("\t\t\talert(\"请输入搜索的商品名称\");\r\n");
      out.write("\t\t\treturn false;\r\n");
      out.write("\t\t\tform2.shop.focus();\r\n");
      out.write("\t\t\thistory.back();\r\n");
      out.write("\t\t}\r\n");
      out.write("\t}\r\n");
      out.write("--></script>\r\n");
      out.write("<script src=\"js/DateTime2.js\" language=\"javascript\">\r\n");
      out.write("</script>\r\n");
      out.write("\r\n");
      out.write("<body>\r\n");
      out.write("<table width=\"800\" height=\"431\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" bordercolor=\"#FCBE3F\" bordercolordark=\"#FCBE3F\" bordercolorlight=\"#FFFFFF\">\r\n");
      out.write("  <tr>\r\n");
      out.write("    <td colspan=\"2\">");
      out.write("\r\n");
      out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n");
      out.write("<style type=\"text/css\">\r\n");
      out.write("<!--\r\n");
      out.write(".bg {\r\n");
      out.write("\tbackground-repeat: repeat-x;\r\n");
      out.write("}\r\n");
      out.write(".STYLE11 {\r\n");
      out.write("\tcolor: #D1BE39;\r\n");
      out.write("\tfont-size: 12px;\r\n");
      out.write("\tfont-weight: bold;\r\n");
      out.write("}\r\n");
      out.write(".STYLE4 {\r\n");
      out.write("\tcolor:#FFFFFF;\r\n");
      out.write("\tfont-size:14px;\r\n");
      out.write("\tfont-weight: bold;\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("-->\r\n");
      out.write("</style>\r\n");
      out.write("\r\n");
      out.write("<table width=\"800\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
      out.write("      <tr >\r\n");
      out.write("        <td width=\"286\"><img name=\"topmenu_01\" src=\"image/topmenu_01.jpg\" width=\"286\" height=\"116\" border=\"0\" alt=\"\"></td>\r\n");
      out.write("        <td width=\"514\"><table align=\"left\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"514\">\r\n");
      out.write("            <tr>\r\n");
      out.write("              <td><table align=\"left\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"514\">\r\n");
      out.write("                  <tr>\r\n");
      out.write("                    <td><img name=\"topmenu_02\" src=\"image/topmenu_02.gif\" width=\"247\" height=\"36\" border=\"0\" alt=\"\"></td>\r\n");
      out.write("                    <td><table align=\"left\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"267\">\r\n");
      out.write("                        <tr>\r\n");
      out.write("                          <td width=\"267\" height=\"25\" align=\"center\" background=\"image/topmenu_03.gif\"><table width=\"98%\"  border=\"0\" align=\"right\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
      out.write("                              <tr>\r\n");
      out.write("                                <td align=\"center\"><a href=\"index.jsp\">站点首页</a> | <a target=_top href=\"javascript:window.external.AddFavorite('http://219.228.231.114:/shopfz','网上服装店')\">收藏本站</a> | <a style=cursor:hand onclick=this.style.behavior='url(#default#homepage)';this.setHomePage('http://219.228.231.114:/shopfz')>设为首页</a> | <A name=\"StranLink\">繁体中文版</A>\r\n");
      out.write("                                    <SCRIPT language=JavaScript type=text/JavaScript src='Std_StranJF.Js'></SCRIPT>\r\n");
      out.write("                                  <a href=\"help.asp?action=process\"></a></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><img name=\"topmenu_04\" src=\"image/topmenu_04.gif\" width=\"267\" height=\"11\" border=\"0\" alt=\"\"></td>\r\n");
      out.write("                        </tr>\r\n");
      out.write("                    </table></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><table align=\"left\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"514\">\r\n");
      out.write("                  <tr>\r\n");
      out.write("                    <td width=\"99\" height=\"45\" align=\"center\" background=\"image/topmenu_08.jpg\"><a href=\"about.jsp\" class=\"STYLE4\">关于我们</a></td>\r\n");
      out.write("                    <td width=\"99\" height=\"45\" align=\"center\" background=\"image/topmenu_08.jpg\"><a href=\"order.jsp\" class=\"STYLE4\">购物车</a></td>\r\n");
      out.write("                    <td width=\"107\" height=\"45\" align=\"center\" background=\"image/topmenu_08.jpg\"><a href=\"input.jsp\" class=\"STYLE4\">订单查询</a></td>\r\n");
      out.write("                    <td width=\"107\" height=\"45\" align=\"center\" background=\"image/topmenu_08.jpg\"><a href=\"uedit.jsp\" class=\"STYLE4\">用户中心</a></td>\r\n");
      out.write("                    <td width=\"101\" height=\"45\" align=\"center\" background=\"image/topmenu_08.jpg\"><a href=\"user/browse.jsp\" class=\"STYLE4\">留言反馈</a></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 width=\"514\" height=\"24\" background=\"image/topmenu_11.gif\"><table width=\"514\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n");
      out.write("                  <tr>\r\n");
      out.write("                    <td width=\"514\"><marquee onMouseOver=\"this.stop()\" onMouseOut=\"this.start()\" scrollAmount=\"3\">\r\n");
      out.write("\t\t\t\t\t<span class=\"STYLE11\">欢迎进入网上服装店</span>\r\n");
      out.write("                    </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><img name=\"topmenu_12\" src=\"image/topmenu_12.gif\" width=\"514\" height=\"11\" border=\"0\" alt=\"\"></td>\r\n");
      out.write("            </tr>\r\n");
      out.write("        </table></td>\r\n");
      out.write("      </tr>\r\n");
      out.write("    </table>\r\n");
      out.write("\r\n");
      out.write("    </td>\r\n");
      out.write("  </tr>\r\n");
      out.write("  <tr>\r\n");
      out.write("    <td width=\"174\" height=\"429\" valign=\"top\" background=\"\">");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\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("body {\r\n");
      out.write("\tmargin-right: 0px;\r\n");
      out.write("\tmargin-bottom: 0px;\r\n");
      out.write("}\r\n");
      out.write("-->\r\n");
      out.write("</style></head>\r\n");
      out.write("</script>\r\n");
      out.write("<link href=\"css/style.css\" rel=\"stylesheet\">\r\n");
      out.write("<script language=\"javascript\">\r\n");
      out.write("<!--\r\n");
      out.write("\tfunction check1(){\r\n");
      out.write("\t\tif(form1.ware.value==\"\"){\r\n");
      out.write("\t\t\talert(\"请输入搜索的商品名称\");\r\n");
      out.write("\t\t\tform1.ware.focus();\r\n");
      out.write("\t\t\treturn false;\r\n");
      out.write("\t\t\thistory.back();\r\n");
      out.write("\t\t}\r\n");
      out.write("\t}\r\n");
      out.write("-->\r\n");
      out.write("</script>\r\n");
      out.write("<script language=\"javascript\">\r\n");
      out.write("<!--\r\n");
      out.write("\tfunction checked1(){\r\n");
      out.write("\t\tif(form2.username.value==\"\"){\r\n");
      out.write("\t\t\talert(\"请输入你的的用户名\");\r\n");
      out.write("\t\t\tform2.username.focus();\r\n");
      out.write("\t\t\treturn false;\r\n");
      out.write("\t\t\thistory.back();\r\n");
      out.write("\t\t}\r\n");
      out.write("\t\tif(form2.password.value==\"\"){\r\n");
      out.write("\t\t\talert(\"请输入你的密码\");\r\n");
      out.write("\t\t\tform2.password.focus();\r\n");
      out.write("\t\t\treturn false;\r\n");
      out.write("\t\t\thistory.back();\r\n");
      out.write("\t\t}\r\n");
      out.write("\t}\r\n");

⌨️ 快捷键说明

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