top.jsp
来自「一套购物车项目。电子商务系统。实现了前台和后台的业务逻辑。」· JSP 代码 · 共 40 行
JSP
40 行
<%@ 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" colspan="1"><span><img top="0" align="left" src="<%=contextPath%>/image/j2ee.gif" border="0" /></span><span align="left" id="Welcome" align="right">电子商务购物网站后台管理</span><span class="s3">»</span>
<c:if test="${sessionScope.adminuname==null}">
<span class="text">您尚未</span> <a href="<%=contextPath%>/admin/login.jsp" target="mainFrame">登录</a> |
</c:if>
<c:if test="${sessionScope.adminuname!=null}">
<a href="<%=contextPath%>/adminServlet?task=loginout" target="mainFrame">注销</a>
</c:if>
</div>
<div id="tabs" class="h" height="30">
<c:if test="${sessionScope.adminuname!=null}">
</c:if>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?