📄 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 + -