Skip to content

Instantly share code, notes, and snippets.

@ksakae1216
Created Jun 16, 2016
Embed
What would you like to do?
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
DBの値を一覧表示!
<br>
<table>
<tr>
<th>No</th>
<th>DBの値</th>
</tr>
<c:forEach items="${dbdata}" var="dbdataLine">
<tr>
<td>${dbdataLine.col1}</td>
<td>${dbdataLine.col2}</td>
</tr>
</c:forEach>
</table>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment