ch3-1main.htm
来自「关于jsp方向的seesion代码和cookie代码」· HTM 代码 · 共 32 行
HTM
32 行
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>说明</title>
</head>
<body bgcolor="#FFFF99">
<p><font size="6">说明:</font></p>
<table width="839" height="332">
<tr>
<td width="831" height="61" scope="row"><div align="left"><strong>注册:</strong>ch3-11.jsp 创建用户的Session,并将“用户名”和“密码”写入Session。</div></td>
</tr>
<tr>
<td height="53" scope="row"><div align="left"><strong>登录:</strong>ch3-12.jsp 从Session中提取“用户名”和“密码”对登录用户进行验证。</div></td>
</tr>
<tr>
<td height="70" scope="row"><div align="left"><strong>登录成功:</strong>转到 ch3-13.jsp,提取Session中的“用户名”,对登录用户表示欢迎。</div></td>
</tr>
<tr>
<td height="71" scope="row"><div align="left"><strong>登录失败:</strong>转到 ch3-14.jsp,提取Session中的“用户名”、“密码”,告知登录用户。<br>
如果没有注册直接登录,Session中的“用户名”为空,告知用户去注册。</div></td>
</tr>
<tr>
<td height="63" scope="row"><div align="left">
<p><strong>注销:</strong>ch3-15.jsp 将用户的 Session 删除。</p>
</div></td>
</tr>
</table>
<p align="center"><font size="7">
</font></p>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?