📄 login.jsp
字号:
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<!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>无标题文档</title>
<style type="text/css">
body{ background-color:#33FF00}
</style>
</head>
<body>
<form name="form1" method="post" action="Hobby_servlet?Mode=1">
<table width="200" border="1" align="center">
<tr>
<td><div align="center">name</div></td>
<td><input type="text" name="name"></td>
</tr>
<tr>
<td width="71"><div align="center">password</div></td>
<td width="113"><input type="text" name="password"></td>
</tr>
<tr>
<td><div align="center">sex</div></td>
<td><div align="center">
<input type="radio" name="sex" value="0" checked>
男
<input type="radio" name="sex" value="1">
女</div></td>
</tr>
<tr>
<td><div align="center">phone</div></td>
<td><input type="text" name="phone"></td>
</tr>
</table>
<p align="center">
<input type="checkbox" name="hobby" value="1">
反恐
<input type="checkbox" name="hobby" value="2">
魔兽
<input type="checkbox" name="hobby" value="3">
IT
<input type="checkbox" name="hobby" value="4">
真三国.无双
<input type="checkbox" name="hobby" value="5">
皇牌空战
<input type="checkbox" name="hobby" value="6">
魂斗罗
<input type="checkbox" name="hobby" value="7">
生化危机
<input type="checkbox" name="hobby" value="8">
最终幻想
</p>
<p align="center">
<input type="submit" name="Submit" value="提交">
<input type="submit" name="Submit2" value="重置">
</p>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -