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

📄 loginpage_jsp.java

📁 JSP制作的一个在线书店 拥有简单的功能 请看看吧 初学者
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
package org.apache.jsp;

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

public final class loginPage_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("\r\n");
      out.write("\r\n");
      out.write("<html>\r\n");
      out.write("<head>\r\n");
      out.write("<meta http-equiv=\"Content-Language\" content=\"zh-cn\">\r\n");
      out.write("<title>复件 pagesian3</title>\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(".style1 {\r\n");
      out.write("\tfont-family: \"Electric Toaster\";\r\n");
      out.write("\tcolor: #FFFFFF;\r\n");
      out.write("}\r\n");
      out.write("-->\r\n");
      out.write("</style>\r\n");
      out.write("<script language=\"javascript\" type=\"\">\r\n");
      out.write("function submit(){\r\n");
      out.write("\tthis.form1.submit();\r\n");
      out.write("}\r\n");
      out.write("function check()\r\n");
      out.write("{\r\n");
      out.write("  if(document.form1.userName.value==\"\")\r\n");
      out.write("  {\r\n");
      out.write("    alert(\"用户名不能为空!\");\r\n");
      out.write("  }\r\n");
      out.write("  if(document.form1.loginPassword.value==\"\")\r\n");
      out.write("  {\r\n");
      out.write("    alert(\"密码不能为空!\");\r\n");
      out.write("  }\r\n");
      out.write("  document.form1.submit()\r\n");
      out.write("}\r\n");
      out.write("</script>\r\n");
      out.write("</head>\r\n");
      out.write("<body bgcolor=\"#FFFFFF\" leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\">\r\n");
      out.write("<!-- ImageReady Slices (复件 pagesian3.psd) -->\r\n");
      out.write("<table align=\"center\" width=\"100%\"><tr><td height=\"100%\" width=\"100%\" valign=\"middle\" align=\"center\">\r\n");
      out.write("<table id=\"Table_01\" width=\"1025\" height=\"1000\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
      out.write("\t<tr>\r\n");
      out.write("\t\t<td colspan=\"4\" background=\"images/pagesian3_CN_01.gif\"><table width=\"100%\" height=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n");
      out.write("          <!-- MSTableType=\"nolayout\" -->\r\n");
      out.write("\t\t\t<tr>\r\n");
      out.write("            <td rowspan=\"2\">&nbsp;</td>\r\n");
      out.write("            <td height=\"34\" width=\"632\" colspan=\"6\">\r\n");
      out.write("\t\t\t<table width=\"100%\" height=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n");
      out.write("\t\t\t\t<tr>\r\n");
      out.write("\t\t\t\t\t<td>&nbsp;</td>\r\n");
      out.write("\t\t\t\t\t<td width=\"52\"> </td>\r\n");
      out.write("\t\t\t\t\t<td width=\"49\"><font size=\"2\" face=\"幼圆\">&nbsp; 登录</font></td>\r\n");
      out.write("\t\t\t\t\t<td width=\"56\"><font size=\"2\" face=\"幼圆\">&nbsp;\r\n");
      out.write("\t\t\t\t\t<a href=\"regeditPage.jsp\">注册</a></font></td>\r\n");
      out.write("\t\t\t\t\t<td width=\"57\"><font size=\"2\" face=\"幼圆\">&nbsp;\r\n");
      out.write("\t\t\t\t\t<a href=\"BookSale.jsp\">商品</a> </font></td>\r\n");
      out.write("\t\t\t\t\t<td width=\"104\"><font size=\"2\" face=\"幼圆\">&nbsp;<a href=\"underFrame.htm\">后台</a></font></td>\r\n");
      out.write("\t\t\t\t</tr>\r\n");
      out.write("\t\t\t</table>\r\n");
      out.write("\t\t\t</td>\r\n");
      out.write("            <td height=\"34\" width=\"159\"> </td>\r\n");
      out.write("          </tr>\r\n");
      out.write("          <tr>\r\n");
      out.write("            <td width=\"112\"> </td>\r\n");
      out.write("            <td width=\"85\"> </td>\r\n");
      out.write("            <td width=\"85\"> </td>\r\n");
      out.write("            <td width=\"103\"> </td>\r\n");
      out.write("            <td width=\"112\"> </td>\r\n");
      out.write("            <td width=\"135\"> </td>\r\n");
      out.write("            <td width=\"159\"> </td>\r\n");
      out.write("          </tr>\r\n");
      out.write("        </table>\r\n");
      out.write("\t  </td>\r\n");
      out.write("\t\t<td width=\"1\">\r\n");
      out.write("\t\t\t<img src=\"images/spacer.gif\" width=\"1\" height=\"133\" alt=\"\"></td>\r\n");
      out.write("\t</tr>\r\n");
      out.write("\t<tr>\r\n");
      out.write("\t\t<td width=\"218\" rowspan=\"2\" background=\"images/pagesian3_CN_02.gif\">\r\n");
      out.write("\t\t<table width=\"100%\" height=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n");
      out.write("\t\t\t<tr>\r\n");
      out.write("\t\t\t\t<td> </td>\r\n");
      out.write("\t\t\t</tr>\r\n");
      out.write("\t\t\t<tr>\r\n");
      out.write("\t\t\t\t<td width=\"38\" height=\"23\"> </td>\r\n");
      out.write("\t\t\t\t<td height=\"23\"> </td>\r\n");
      out.write("\t\t\t</tr>\r\n");
      out.write("\t\t\t<tr>\r\n");
      out.write("\t\t\t\t<td width=\"38\" height=\"24\"> </td>\r\n");
      out.write("\t\t\t\t<td height=\"24\"> </td>\r\n");
      out.write("\t\t\t</tr>\r\n");
      out.write("\t\t\t<tr>\r\n");
      out.write("\t\t\t\t<td width=\"38\" height=\"21\"> </td>\r\n");
      out.write("\t\t\t\t<td height=\"21\"> </td>\r\n");
      out.write("\t\t\t</tr>\r\n");
      out.write("\t\t\t<tr>\r\n");
      out.write("\t\t\t\t<td width=\"38\" height=\"22\"> </td>\r\n");
      out.write("\t\t\t\t<td height=\"22\"> </td>\r\n");
      out.write("\t\t\t</tr>\r\n");
      out.write("\t\t\t<tr>\r\n");
      out.write("\t\t\t\t<td width=\"38\" height=\"22\"> </td>\r\n");
      out.write("\t\t\t\t<td height=\"22\"> </td>\r\n");
      out.write("\t\t\t</tr>\r\n");
      out.write("\t\t\t<tr>\r\n");
      out.write("\t\t\t\t<td width=\"38\" height=\"23\"> </td>\r\n");
      out.write("\t\t\t\t<td height=\"23\"> </td>\r\n");
      out.write("\t\t\t</tr>\r\n");
      out.write("\t\t\t<tr>\r\n");
      out.write("\t\t\t\t<td width=\"38\" height=\"21\"> </td>\r\n");
      out.write("\t\t\t\t<td height=\"21\"> </td>\r\n");
      out.write("\t\t\t</tr>\r\n");
      out.write("\t\t\t<tr>\r\n");
      out.write("\t\t\t\t<td width=\"38\" height=\"22\"> </td>\r\n");
      out.write("\t\t\t\t<td height=\"22\"> </td>\r\n");
      out.write("\t\t\t</tr>\r\n");
      out.write("\t\t\t<tr>\r\n");
      out.write("\t\t\t\t<td width=\"38\" height=\"22\"> </td>\r\n");
      out.write("\t\t\t\t<td height=\"22\"> </td>\r\n");
      out.write("\t\t\t</tr>\r\n");
      out.write("\t\t\t<tr>\r\n");
      out.write("\t\t\t\t<td width=\"38\" height=\"23\"> </td>\r\n");
      out.write("\t\t\t\t<td height=\"23\"> </td>\r\n");
      out.write("\t\t\t</tr>\r\n");
      out.write("\t\t\t<tr>\r\n");
      out.write("\t\t\t\t<td height=\"48\" width=\"38\"></td>\r\n");
      out.write("\t\t\t\t<td height=\"48\"> </td>\r\n");
      out.write("\t\t\t</tr>\r\n");
      out.write("\t\t</table>\r\n");
      out.write("\t\t&nbsp;\t\t\t</td>\r\n");
      out.write("\t\t<td width=\"649\" background=\"images/pagesian3_CN_03.gif\">&nbsp;\r\n");
      out.write("\t\t<table width=\"100%\" height=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n");
      out.write("\t\t\t<tr>\r\n");
      out.write("\t\t\t\t<td> </td>\r\n");
      out.write("\t\t\t\t<td width=\"240\"> </td>\r\n");
      out.write("\t\t\t</tr>\r\n");
      out.write("\t\t</table>\r\n");
      out.write("\t\t</td>\r\n");
      out.write("\t\t<td width=\"107\" rowspan=\"3\" background=\"images/pagesian3_CN_04.gif\">&nbsp;\r\n");
      out.write("\t\t<table width=\"100%\" height=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n");
      out.write("\t\t\t<tr>\r\n");

⌨️ 快捷键说明

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