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

📄 bookfirst1.dwt.jsp

📁 从一开始就使用动态提交技术
💻 JSP
字号:
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<%@ page import="java.util.*" %>
<%@ page import="bookshop.classBookBean" %>
<%@ page import="bookshop.bookBean" %>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />

<!-- TemplateBeginEditable name="doctitle" -->
<title>无标题文档</title>
<!-- TemplateEndEditable -->
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
<style type="text/css">
<!--
.style10 {font-family: "华文行楷"}
.style12 {
	font-size: 18px;
	font-weight: bold;
}
.style30 {
	font-family: "宋体-方正超大字符集";
	font-size: 12px;
	font-weight: bold;
}
.style17 {font-family: "华文行楷"; color: #000000; font-size: 18px; }
.style34 {font-size: 14px}
.style35 {
	font-family: "华文新魏";
	font-size: 24px;
}
.style36 {font-size: 16px; font-weight: bold; font-family: "宋体-方正超大字符集"; }
.style39 {font-size: 12px}
a {
	font-family: 宋体-方正超大字符集;
	font-size: 18px;
	color: #000000;
}
a:link {
	color: #0000FF;
}
a:visited {
	color: #0000FF;
}
a:active {
	color: #0000FF;
}
.style40 {
	font-family: "宋体-方正超大字符集";
	font-size: 10px;
}
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.style31 {font-size: 14}
.style41 {font-size: 22px}
body,td,th {
	font-family: 宋体-方正超大字符集;
	font-size: 16px;
}
-->
</style>
</head>

<body>
<table width="1018"  border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#9999FF">
  <tr>
    <td width="1016" height="59" bordercolor="#9999FF"><table width="100%" height="83%" border="0" cellpadding="0" cellspacing="0" bordercolor="#9999FF">
      <tr>
        <td height="57" align="center" bgcolor="#9999FF" class="style34 style40"><table width="100%" height="57"  border="0" cellpadding="0" cellspacing="0" bordercolor="#99CCFF">
          <tr align="center" valign="middle">
            <td width="179"  rowspan="2" valign="top" bgcolor="#FFFFFF"><img src="image/huachu.gif" width="179" height="58" align="top" /></td>
            <td width="406" valign="top" bgcolor="#9999FF"><span class="style10"><span class="style34"><span class="style30"><img src="image/index1.gif" width="16" height="18"/><a href="help.jsp" class="style39">帮 助 中 心</a>|<img src="image/index3.gif" width="17" height="18" vspace="0" />查 看 购 物 车|<img src="image/index2.gif" width="19" height="16" vspace="0"  /><a href="success.jsp" class="style39">会 员 中 心</a>|<img src="image/index4.gif" width="17" height="15" vspace="0" />查 看 订 单</span></span></span></td>
			
            <td width="429" rowspan="2" align="right" valign="top" bgcolor="#FFFFFF"><span class="style10"><span class="style17"><img src="image/lianxi.gif" width="315" height="58" hspace="0" vspace="0" /></span><img src="image/caitu1.gif" width="40" height="58" hspace="0" vspace="0" align="absmiddle"/><span class="style34"></span></span><span class="style17"><span class="style10"><img src="image/caitu4.gif" width="37" height="58" hspace="0" vspace="0" align="absmiddle" /><img src="image/caitu3.gif" width="36" height="58" hspace="0" vspace="0" align="absmiddle" /></span></span></td>
          </tr>
          <tr>
            <td height="36" align="center" valign="top" bgcolor="#9999FF"><table width="400" border="0" align="left" cellpadding="0" cellspacing="0">
                <tr>
                  <td width="400" height="36" valign="middle">
				  
				  <form action="login.jsp" method="post" name="form1">
                      <table width="350" align="left" height="15"cellpadding="0" cellspacing="0">
                        <tr align="left" >
                          <td width="40" height="15" align="center" class="style39">用户名</td>
                          <td width="80" height="15" >
                            <input name="username" type="id" class="style39" value="" size="15" height="15" />
                          </td>
                          <td width="30" align="center" class="style39" >密码</td>
                          <td width="80"  height="15">
                            <input name="password" type="name" class="style39" value="" size="15" height="15" />
                          </td>
                          <td width="30" >
                            <input name="Submit22" height="15" type="submit" class="style34" value="登录"  /></td>
                        </tr>
                      </table>
                  </form></td>
                  <td ><a><input type="submit"  height="15" onclick='window.location="zhuce.jsp"' name="Submit3"  class="style34" value="注册"></a></td>
                </tr>
            </table></td>
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="600" bordercolor="#FFFFFF"><table width="1016" height="650" border="0" cellspacing="0" bordercolor="#9999FF">
      <tr valign="top" bordercolor="#9999FF">
        <td width="148" height="650" valign="top" bgcolor="#9999FF"><table width="100%" border="0">
          <tr>
            <td width="132"><table width="113%" border="0" align="center">
                <tr>
                  <td width="131" align="left" valign="middle" class="style12"><p class="style12 style35"><span class="style31"><img src="image\leg1.gif" alt="1" width="35" height="32"></span><span class="style41">书 类 名</span></p></td>
				  
                </tr>
				<td bgcolor=990099 width=1></td>
                <jsp:useBean id="bean1" scope="request" class="bookshop.bookSql"/>
                
                <% Vector v=(Vector)bean1.getClassBook();
		  for(int i=0;i<v.size();i++)
		  {
		  classBookBean book1=(classBookBean)v.get(i);
		  System.out.println(book1.getClassname());
		  %>
                <tr>
                  <td width="131" align="left" class="style12"><a href="../show.jsp?classid=<%=book1.getClassid()%>" class="style36"><%=book1.getClassname()%></a></td>
                </tr>
                <%
		  }
		  %>
            </table></td>
          </tr>
          <tr>
            <td>&nbsp;</td>
          </tr>
        </table></td>
        <td width="850" valign="top"><!-- TemplateBeginEditable name="EditRegion3" --><!-- TemplateEndEditable --></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

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