【JSP开源代码栏目提醒】:网学会员为需要JSP开源代码的朋友们搜集整理了all_category.jsp相关资料,希望对各位网友有所帮助!
<%@ page language="java" contentType="text/html; charset=GB2312"
pageEncoding="GB2312"%>
<jsp:useBean id="cat" scope="page"
class="com.wxpn.tutorial.ec.bean.CategoryBook"
type="com.wxpn.tutorial.ec.bean.CategoryBook" />
<%@ include file="../include/header.jsp"%>
<TABLE border=0 cellPadding=0 cellSpacing=0 width=760 align="center">
<TBODY>
<tr>
<td align="left" height=25><%if (session.getAttribute("username") != null) {
out.println(session.getAttribute("username"));
}%> 当前位置:<a href="/ECommerce/index.jsp">首页</a> -> 商品分类</td>
<%@ include file="../include/date.jsp"%>
</tr>
<TR bgColor=#3399ff>
<TD height=1 colspan="2"><IMG height=1 src="images/spacer.gif"
width=16></TD>
</TR>
<tr>
<td height=10 colspan="2"><IMG height=1 src="images/spacer.gif"
width=16></td>
</tr>
</TBODY>
</TABLE>
<table align="center" border="0" width="760" cellspacing="0"
cellpadding="0" height="355">
<tr>
<td width="150" height="355" valign="top"><%@ include
file="../include/top_banner.jsp"%></td>
<td width="10" height="100%"></td>
<td width="1" height="100%" bgcolor="#3399ff"></td>
<td width="10" height="100%"></td>
<td width="589" height="331" valign="top" background="images/bg1.gif">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td height="1" bgcolor="" colspan="2">
<td align="left" colspan="2" height="32"><a href="post.jsp">发布书的信息</a>
</td>
</tr>
</table>
商品分类:<br>
<br>
<a href="/ECommerce/CategoryServlet?id=1" target="_blank">计算机类[共有<font
color="Red"><jsp:getProperty name="cat" property="countA" /></font>种]</a>
<br>
<br>
<a href="/ECommerce/CategoryServlet?id=2" target="_blank">英语类 [共有<font
color="Red"><jsp:getProperty name="cat" property="countB" /></font>种]</a>
<br>
<br>
<a href="/ECommerce/CategoryServlet?id=3" target="_blank">其他类 [共有<font
color="Red"><jsp:getProperty name="cat" property="countC" /></font>种]</a>
<br>
<br>
</td>
</tr>
</table>
<%@ include file="../include/footer.jsp"%>