?? buy3.jsp
字號:
<%@ page contentType="text/html;charset=gb2312" session="true"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>user</title>
<style type="text/css">
<!--
.style1 {
color: #0033FF;
font-weight: bold;
}
.style2 {
font-size: 18px;
font-family: Arial, Helvetica, sans-serif;
}
.style5 {font-family: Arial, Helvetica, sans-serif}
.style6 {color: #00CC00}
.style7 {color: #3399FF}
.style8 {color: #FF6633}
-->
</style>
</head>
<body>
<% response.setContentType("text/html;charset=GB2312");
request.setCharacterEncoding("gb2312");
String[] fruit=request.getParameterValues("fruit");
if(!fruit.equals(null))
{
for(int i=0;i<fruit.length;i++)
{
fruit[i]=new String(fruit[i].getBytes("ISO-8859-1"),"GB2312");
}
}
session.setAttribute("fruit",fruit);
%>
<form method="get" action="show.jsp">
<table width="400" border="1" align="center">
<tr bgcolor="#99FFFF">
<td colspan="2"><div align="center" class="style1 style2">請?zhí)顚懩挠脩粜畔ⅲ?lt;/div></td>
</tr>
<tr>
<td ><div align="right" class="style6"><span class="style5">用戶姓名</span>:</div></td>
<td >
<div align="center">
<input type="text" name="username">
</div></td>
</tr>
<tr>
<td><div align="right" class="style5 style7"> 用戶編號:</div></td>
<td>
<div align="center">
<input type="text" name="userid">
</div></td>
</tr>
<tr>
<td><div align="right" class="style8"><span class="style5">用戶地址</span>:</div></td>
<td>
<div align="center">
<input type="text" name="address">
</div></td>
</tr>
<tr>
<td colspan="2" align="center"><input type="submit" name="Submit" value="提交">
<input type="reset" name="Submit2" value="重置"></td>
</tr>
</table>
</form>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -