%@page
import="jp.ac.kcska.questionsystem.Mst_categoryVo"%>
<%@ 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.Mst_examVo"%>
テスト管理
カテゴリー管理
番号 |
カテゴリー |
有効/無効 |
編集 |
<%
ArrayList categoryList = (ArrayList) session
.getAttribute("categoryList");
for (Mst_categoryVo categoryVo : categoryList) {
int id = categoryVo.getId();
String categoryname = categoryVo.getCategoryname();
byte validvalue = categoryVo.getValid();
String validString = "";
switch (validvalue){
case 1:
validString = "有効";
break;
case 0:
validString = "無効";
break;
}
%>
<%=id%> |
<%=categoryname%> |
<%=validString%> |
|
<%
}
%>