每日日报2020 12/08

<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!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=UTF-8">
<title>Insert title here</title>
</head>
<body>


<body style="background: url(images/wen7.jpg); background-size:100%" > <h2 align="center">请输入想要删除信息的学号</h2>

<form action="Servlet2?method=doGet" onsubmit="return check()" method="post" >

<% Object message = request.getAttribute("message");//放置一个字符串,并取出
if(message!=null && !"".equals(message)){

%>
<script type="text/javascript">
alert("<%=request.getAttribute("message")%>");
</script>
<%} %>

<table align="center">

<tr><td>学号:</td>
<td><input type="text" id="id" name="id" ;" maxlength="12" value="" placeholder="请输入学号" /></td> <tr><td></td><td>

<input type="submit" value="删除此用户所有信息" style="background-color:CornflowerBlue;150px;height:25px;border-radius:4px;" ></td>


</table>
</form>

</body>
</html>

原文地址:https://www.cnblogs.com/song-1/p/14177170.html