📄 6-11.txt
字号:
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>用 户 注 册</title>
</head>
<body bgcolor="#00FFFF">
<p align="center"><b><font face="Arial Black" color="#CC66FF" size="5">session</font><font color="#CC66FF" size="5">对象测试三</font></b></p>
<hr>
<%-- 字符串定义 --%>
<%
String getuser=new String();
String getemail=new String();
String getsex=new String();
String getwork=new String();
getsex=request.getParameter("inputsex");
getwork=request.getParameter("inputwork");
%>
<%-- 提取保存在session对象中的用户信息 --%>
<%
getuser=(String)session.getValue("name");
getemail=(String)session.getValue("email");
%>
<div align="center">
<center>
<table border="1" width="60%" cellpadding="2">
<tr>
<td width="50%">
<p align="center"><b><font color="#9933FF">用户名称</font></b></td>
<td width="50%">
<p align="left"><font color="#FF3300"><%=getuser%> </font></td>
</tr>
</center>
<center>
</center>
<center>
<tr>
<td width="50%" align="center"><b><font color="#9933FF">电子邮件</font></b></td>
</center>
<td width="50%">
<p align="left"><font color="#FF3300"><%=getemail%></font></p>
</td>
</tr>
<center>
<tr>
<td width="50%" align="center"><b><font color="#9933FF">性
别</font></b></td>
</center>
<td width="50%">
<p align="left"><font color="#FF3300"><%=getsex%></font></p>
</td>
</tr>
<center>
<tr>
<td width="50%" align="center"><b><font color="#9933FF">工
作</font></b></td>
</center>
<td width="50%">
<p align="left"><font color="#FF3300"><%=getwork%></font></p>
</td>
</tr>
</table>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -