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

📄 category.jsp

📁 用java开发的一个简单的手机购物网站 能够实现购物车功能 收索功能 下定单
💻 JSP
字号:
<%@ page contentType="text/html; charset=gb2312" errorPage="err.jsp?msg=未知错误" %>
<%@ page import="java.util.*, ebook.*" %>
<jsp:useBean id="categoryBean" scope="page" class="ebook.CategoryBean" />
<style type="text/css">
<!--
.title_1 {  font-family: "华文行楷"; font-size: 36px; color: #CC66FF; width: 100%; }
-->
</style>
<html>
    <head>
        <title>在线手机商店-手机分类</title>
    </head>
    <body bgcolor="#66CCFF"><center>
<jsp:include page="header.jsp" />

    <div align="center">
	<h1><font color="blue" class="title_1">手机分类</font></h1>
      <table width="780" border="0" cellpadding="0" cellspacing="0">
        <!--DWLayoutTable-->
		<%
    Collection categorys = categoryBean.getAllCategory();
    Iterator i = categorys.iterator();
    while (i.hasNext()) {
        CategoryBean category = (CategoryBean)i.next();
%>
        
                              
              <td height="60" width="780" style="border: 1px solid #4080c0" align="center" background="img/标题-8.jpg">
			  <a href="booklist.jsp?categoryId=<%= category.getCategoryId() %>">
                        <font face="楷体_GB2312"><%= category.getCategoryName() %></font>
                </a>					
				</td>            
		<%}%>

      </table>
    </div>
    <div align="center">
      <table width="780" border="0" cellpadding="0" cellspacing="0">
                  <tr>
          <td height="140" valign="top" align="center"  background="img/标题-6.jpg"><marquee onmouseover="this.stop()" onmouseout="this.start()" direction="left"><img src="img/标题-10.jpg" width="780" height="140"></marquee></td>
        </tr>
                </table>
    </div>
    </body>
   <jsp:include page="footer.jsp" />
</html>

⌨️ 快捷键说明

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