css--树

<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page import="Students.com.java.Students"%>
<%@page import="StudentsDao.com.java.StudentsDao"%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<html>
<head>
    <title>修改结果</title>
    <script type="text/javascript" src="js/jquery-1.11.0.js"></script>
</head>
<body>
<table  border="1px solid #F00" align="center" style="text-align: center" cellpadding="10px">
               <tr>
               <td>姓名</td>
               <td>性别</td>
               <td>民族</td>
               <td>注册时间</td>
               <td>年龄</td>
               <td>政治面貌</td>
               <td>服务类别</td>
               </tr>
               <c:forEach items="${students}" var="student">
               <tr>
               <td>${student.GetName()}</td>
               <td>${student.GetSex()}</td>
               <td>${student.GetNation()}</td>
               <td>${student.GetDate()}</td>
               <td>${student.GetAge()}</td>
               <td>${student.GetPolitics()}</td>
               <td>${student.GetServiceclass()}</td>
               </tr>
                  </c:forEach>
</table>
</body>
</html>

 

上一篇:15 面向对象基本概念


下一篇:【Java基础】Java8中的方法引用“双冒号”——走进Java Lambda