?? loginsucceed.jsp
字號:
<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'LogInSucceed.jsp' starting page</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
</head>
<%String str = (String)session.getAttribute("user");
if(str == null)
{
str = request.getParameter("user");
}
%>
<body>
<table width="714" border="1">
<tr>
<td colspan="2"><h2>Hi! Welcome "<%=str%>" LogIn Succeed!.</td>
<td width="130"><a href = "UserInforShow.jsp?user=<%=str%>">查看個人信息</a></td>
<td width="130"><a href = "UserUpdateInfor.jsp?user=<%=str%>">更改個人信息</a></td>
<td width="93"><div align="right"><a href = "LogIn.jsp">退出</a></div></td>
</tr>
<tr>
<td width="200"> <a href = "UserSearchBook.jsp?user=<%=str%>">查找圖書</a> </td>
<td width="150"><a href = "BookShopCar.jsp?user=<%=str%>">查看我的購物車</a></td>
<td><a href = "ShowSaveBook.jsp?user=<%=str%>">查看我的收藏夾</a></td>
<td><a href = "UserBuyBook.jsp?user=<%=str%>">我的購書歷史</a></td>
</tr>
</table>
<br>
<br>
<table width="717" height="137" border="1">
<tr>
<td colspan="2" rowspan="3"><img src = "BookImg/111.jpg" width="900" height="537"></td>
</tr>
</table>
</body>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -