登陆界面login.jsp:
判断是否登录成功,成功进入主页面,失败则继续登录
index界面:
代码:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script type="text/javascript" src="js/jquery-3.3.1.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" />
<script>
function tz(bid,bprice) {
location.href="dousergwc.jsp?bid="+bid+"&bprice="+bprice;
}
</script>
</head>
<body>
<table class="table">
<tr align="center" style="font-size: 30px">
<td>ID</td>
<td>名称</td>
<td>价格</td>
<td>信息</td>
<td>图片</td>
<td><h1>
<span class="glyphicon glyphicon-shoppi