Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE HTML>
- <html>
- <head>
- <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
- <%@ page session="true"%>
- <%@ page buffer="99kb" autoFlush="true"%>
- <title>EXAMPLE</title>
- <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" />
- <link href="https://cdnjs.cloudflare.com/ajax/libs/datatables/1.10.12/css/dataTables.bootstrap.min.css" rel="stylesheet" />
- <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
- <script src="https://cdnjs.cloudflare.com/ajax/libs/datatables/1.10.12/js/jquery.dataTables.min.js"></script>
- <script src="https://cdnjs.cloudflare.com/ajax/libs/datatables/1.10.12/js/dataTables.bootstrap.min.js"></script>
- </head>
- <body>
- <script type="text/javascript">
- $(document).ready(function() {
- $('#exampleTable').DataTable();
- });
- </script>
- <div class="col-md-12">
- <div class="panel panel-default">
- <div class="table-responsive">
- <table class="table table-bordered table-striped table-hover" id="exampleTable">
- <thead>
- <tr>
- <th><b>PLAYER</b></th>
- <th><b>POSITION</b></th>
- <th><b>POINTS</b></th>
- <th><b>TEAM</b></th>
- <th><b>SIZE</b></th>
- <th><b>AGE</b></th>
- <th><b>GAMES</b></th>
- <th><b>COLUMN</b></th>
- <th><b>COLUMN2</b></th>
- <th><b>COLUMN3</b></th>
- <th><b>COLUMN4</b></th>
- </tr>
- </thead>
- <tbody>
- <c:forEach items="${players}" var="player" varStatus="j">
- <tr>
- <td>Player-${j.count}</td>
- <td></td>
- <td></td>
- <td></td>
- <td></td>
- <td>${player.age}</td>
- <td></td>
- <td>AA</td>
- <td>BB</td>
- <td>CC</td>
- <td>DD</td>
- </tr>
- </c:forEach>
- </tbody>
- </table>
- </div>
- </div>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement