You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
63 lines
1.9 KiB
63 lines
1.9 KiB
<%@ page import="java.text.SimpleDateFormat" %>
|
|
<%@ page import="java.util.Date" %><%--
|
|
Created by IntelliJ IDEA.
|
|
User: vie
|
|
Date: 2019/12/30
|
|
Time: 20:48
|
|
To change this template use File | Settings | File Templates.
|
|
--%>
|
|
|
|
<!--这里是pages文件夹里的addStu.jsp-->
|
|
<%@page contentType="text/html" pageEncoding="UTF-8"%>
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<meta name="viewport" content="width=device-width,initial-scale=1.0,
|
|
minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
|
|
<title>添加学生信息</title>
|
|
<style>
|
|
body{
|
|
background-image: url("Images/bg11.jpg");
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<h2 align="center">请输入添加学生信息</h2>
|
|
<div style="width:100%;text-align:center">
|
|
<%-- <form action="../addServlet">--%>
|
|
<table border=5 style="margin:auto">
|
|
<tr>
|
|
<td>学号:</td>
|
|
<td><input type="text" name="stuid" id="stuid"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>登录密码:</td>
|
|
<td><input type="text" name="stupass" id="stupass"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>姓名:</td>
|
|
<td><input type="text" name="stuname" id="stuname"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>学生电话:</td>
|
|
<td><input type="text" name="stutel" id="stutel"></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2">
|
|
<input type="submit" value="提交">
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
</div>
|
|
<div align="center" style="width: 100%;position: fixed;bottom: 0;color:yellow">
|
|
<%!Date time= new Date();%>
|
|
<%
|
|
SimpleDateFormat sdf1 = new SimpleDateFormat("yyyy年MM月dd日 E HH时mm分ss秒");
|
|
%>
|
|
<h3><% out.println(sdf1.format(time)); %></h3>
|
|
</div>
|
|
</body>
|
|
</html>
|