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

📄 top.jsp

📁 一套购物车项目。电子商务系统。实现了前台和后台的业务逻辑。
💻 JSP
字号:
<%@ page contentType="text/html;charset=gb2312" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<%
  String contextPath = request.getContextPath();
%>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>框架</title>
<link href="<%=contextPath%>/css/css.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-top: 0px;
}
-->
</style>

</head>
<body >
<div align="right" id="h_guide" class="guide" ><span><img top="0" align="left" src="<%=contextPath%>/image/j2ee.gif" border="0" /></span><span align="left" id="Welcome" align="right">欢迎光临J2EE电子商务购物网站</span><span align="right" class="s3">&raquo;</span>
<c:if test="${sessionScope.uname==null}"> 
 &nbsp;<span align="right" class="text">您尚未&nbsp;<a href="<%=contextPath%>/shop/login.jsp" target="mainFrame">登录</a>
 |      <a href="<%=contextPath%>/shop/reg.jsp" target="mainFrame">  <b>注册</b></a>&nbsp;</span>
</c:if>
<c:if test="${sessionScope.uname!=null}">
 &nbsp;<a href="<%=contextPath%>/loginServlet?task=loginout" target="mainFrame">注销</a>&nbsp;
</c:if>
</div>
<div id="tabs" class="h" height="30">
<a href="<%=contextPath%>/itemServlet" target="mainFrame"><span>所有商品</span></a> &nbsp;|
<a href="<%=contextPath%>/car/car.jsp" target="mainFrame"><img src="<%=contextPath%>/image/cart.gif" width="19" height="11" border="0" /></a><a href="<%=contextPath%>/car/car.jsp" target="mainFrame"><span> 购物车</span></a> &nbsp;|
<img src="<%=contextPath%>/image/topl1.gif" width="15" height="15" /><a href="<%=contextPath%>/orderAddServlet?task=queryorder" target="mainFrame"><span> 我的定单</span></a> &nbsp;| <img src="<%=contextPath%>/image/topl3.gif" width="15" height="15" />
<a href="<%=contextPath%>/shop/online.jsp" target="mainFrame"><span> 在线用户</span></a> &nbsp;
<c:if test="${sessionScope.uname==null}">|
<img src="<%=contextPath%>/image/topl2.gif" width="15" height="15" border="0" />
<a href="<%=contextPath%>/admin.jsp" target="_blank"><span> 后台管理</span></a>
</c:if>
</div>
</body>

</html>

⌨️ 快捷键说明

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