<%@ include file="/shared/initBeans.inc" %> <%@ page language="Java" import="kotkabeans.*,kakibeans.*,java.util.*,java.net.*" session="true" autoFlush="true" isThreadSafe="true" isErrorPage="false" errorPage="/shared/showError.jsp" %> <% /***************************************************************************** * PAGE DESCRIPTION ****************************************************************************** * * NAME: testGroupRelation * LANGUAGE: JSP * DATE: 20.4.2004 * AUTHOR: Sami Kosonen, Jyväskylän yliopisto * ****************************************************************************** * COPYRIGHT (C) KUIKKA team * Limited rights granted. Please refer to license *****************************************************************************/ /***************************************************************************** * UPDATES ****************************************************************************** * * *****************************************************************************/ pageContext.setAttribute("checkMethod", "GUEST"); %> <%@ include file="/shared/userCheck.inc" %>

testGroupRelation

<%@ include file="/shared/showErrorBlock.code" %> <%@ include file="/shared/header.inc" %> <%@ include file="/shared/menus.inc" %> <% StudyPlan sdy = new StudyPlan(10); /*DB db = new DB("StudyPlan.loadFromDB db"); try { db.connect(); sdy.getStuff(162,0,db); } catch (Exception e) { Log.log("Exception in StudyPlan.loadFromDB", e); // disconnect will always performed } finally { db.disconnect(); } StudyPlanElementRelation rela = sdy.getRelation(); Iterator i = rela.iterator(); while(i.hasNext()) { Pair pari = (Pair)i.next(); out.println("("+pari.getA()+","+pari.getB()+")
"); }*/ %> <%@ include file="/shared/footer.inc" %>