%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@ page import="java.util.ArrayList"%>
<%@ page import="jp.ac.kcska.questionsystem.exammanager.horizon.ExamviewVo"%>
テスト管理
テスト管理
管理番号 |
試験名 |
カテゴリ名 |
有効 |
詳細 |
<%
ArrayList examList = (ArrayList) session
.getAttribute("examList");
for (ExamviewVo examviewVo : examList) {
int id = examviewVo.getId();
String examname = examviewVo.getExamname();
String categoryname = examviewVo.getCategoryname();
byte valid = examviewVo.getValid();
String validValue = "";
switch (valid) {
case 1:
validValue = "有効";
break;
case 0:
validValue = "無効";
break;
}
%>
<%=id%> |
<%=examname%> |
<%=categoryname%> |
<%=validValue%> |
|
<%
}
%>