?? login.jsp
字號:
<%@ page contentType="text/html; charset=gb2312" language="java"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<table width="198" height="147" align="right" cellpadding="0" cellspacing="0" background="images/login.jpg" valign="top">
<tr>
<td height="40" align="right"> </td>
</tr>
<tr>
<td align="right"> </td>
</tr>
<tr>
<td height="98">
<form name="form1" method="post" action="login.lzw">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="10%"> </td>
<td width="90%" valign="top">
<c:if test="${param.loger=='error'}">
<script type="text/javascript">
<!--
alert("用戶名和密碼錯誤,或者該用戶已被凍結。");
//-->
</script>
</c:if>
<c:if test="${sessionScope.username==null }">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="94%" height="24">會員名
<input name="username" type="text" class="txt_grey"
id="username" size="16"></td>
</tr>
<tr>
<td height="24">密 碼
<input name="password" type="password" class="txt_grey" id="PWD"
size="16"></td>
</tr>
<tr>
<td height="31"> <a href="register.lzw">注冊</a>
<input name="Submit2" type="submit" class="btn_grey"
value="登錄">
<input name="Submit3" type="reset" class="btn_grey" value="重置">
</td>
</tr>
</table>
</c:if>
<c:if test="${sessionScope.username!=null }">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="94%" height="31" align="center">
${sessionScope.userTrueName }您好!<br>您現在可以購物了!</td>
</tr>
<tr>
<td height="24" align="center">
<input name="Submit22" type="button" class="btn_grey"
value="修改資料"
onClick="window.location.href='modifyMember.lzw';"></td>
</tr>
<tr>
<td height="24" align="center">
<input name="Submit32" type="button" class="btn_grey"
value="退出登錄" onClick="window.location.href='login.lzw?loginOut=true';">
</td>
</tr>
</table>
</c:if>
</td>
</tr>
</table>
</form>
</td>
</tr>
</table>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -