<%@ 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> <form action="AddStudentServlet"> 学号:<input type="text"name="snum"><br/> 姓名:<input type="text"name="sname"><br/> 年龄:<input type="text"name="sage"><br/> 地址:<input type="text"name="sadress"><br/> <input type="submit"value="添加"><br/> </form> </body> </html>