欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

建立addForm键

程序员文章站 2022-03-10 22:35:27
addForm<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>Insert title here&...

addForm

<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<h2>添加学生信息</h2>
	<hr />
	<form action="stuServlet">
		<table width="400">
			<tr>
				<td>学号:</td>
				<td><input type="text" name="id" /></td>
			</tr>
			<tr>
				<td>姓名:</td>
				<td><input type="text" name="name" /></td>
			</tr>
			<tr>
				<td>年龄:</td>
				<td><input type="text" name="age" /></td>
			</tr>
			<tr>
				<td>地址:</td>
				<td><input type="text" name="address" /></td>
			</tr>
			<tr>
				<td colspan="2">
					<input type="submit" value="提交" />
					<input type="reset" value="重置" />
				</td>
		</table>
	</form>
</body>
</html>

点击添加跳转到addForm页面
建立addForm键
建立addForm键

本文地址:https://blog.csdn.net/K_Programmer/article/details/111085825