<%@page import="edu.pdsu.stu.beans.Student"%>
<%@ 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>
<style>
.stuForm{
width:250px;
height:250px;
margin: auto;
margin-top:15%;
}
a{
text-decoration: none;
}
</style>
</head>
<body>
<%
Student student=(Student)session.getAttribute("stu");
pageContext.setAttribute("student", student);
%>
<form action="ModifyProfileServlet" method="post" class="stuForm">
学号:<input type="text" name="id" style="width:125px;" value="${student.getId() }" readonly="readonly" /><br/>
用户名:<input type="text" name="userName" style="width:125px;" value="${student.getUserName() }" /><br/>
密码:<input type="text" name="password" value="${student.getPassword() }" /><br/>
<input type="submit" value="提交"/> <input type="reset" value="重置" />
<h2><a href="data.jsp">返回</a></h2>
</form>
</body>
</html>
javaweb学生管理系统-----修改个人信息页面
最新推荐文章于 2024-07-12 10:55:41 发布