您的位置:首页 > 编程语言 > Java开发

javaweb学生管理系统-----查看个人信息页面

2020-07-17 12:24 85 查看
<%@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 type="text/css">
a{
text-decoration: none;
}

</style>
</head>
<body>
<%
Student student=(Student)session.getAttribute("stu");
%>
学号:<%=student.getId() %></br>
姓名:<%=student.getName() %></br>
年龄:<%=student.getAge() %></br>
性别:<%=student.getSex() %></br>
学分:<%=student.getCore() %></br>
用户名:<%=student.getUserName() %></br>
密码:<%=student.getPassword() %></br>

<h2><a href="data.jsp">返回</a></h2>
</body>
</html>

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐