public void execute() throws IOException, ServletException { String aicc_data = req.getParameter("aicc_data"); if (aicc_data != null) { logger.info("get Param :" + aicc_data); } NewScorm scorm = (NewScorm) req.getSession().getAttribute("SCORM"); int nodeID = StringUtil.parseInt((String) req.getSession().getAttribute("NODEID")); int userID = StringUtil.parseInt((String) req.getSession().getAttribute(LMSConstants.USERID_KEY)); String identifier = StringUtils.trimToEmpty((String) req.getSession().getAttribute("IDENTIFER")); NewScormScoes current_sco = (NewScormScoes) req.getSession().getAttribute("CURRENT_SCO"); SCODataManager scoDate = NewScormHelper.getSCOData( new Integer(userID), scorm.getId(), current_sco.getId(), req.getSession()); CMICore cmiCore = scoDate.getCore(); StringBuffer responseResult = new StringBuffer(); responseResult.append("\n[Core]\n"); responseResult.append("Student_ID=" + cmiCore.getStudentId().getValue() + "\n"); responseResult.append("Student_Name=" + cmiCore.getStudentName().getValue() + "\n"); responseResult.append("Lesson_Location=" + cmiCore.getLessonLocation().getValue() + "\n"); responseResult.append("Credit=" + cmiCore.getCredit().getValue() + "\n"); responseResult.append("Lesson_Status=" + cmiCore.getLessonStatus().getValue() + "\n"); responseResult.append("Score=" + cmiCore.getScore().getRaw().getValue() + "\n"); responseResult.append("Time=" + cmiCore.getTotalTime().getValue() + "\n"); responseResult.append("Lesson_Mode=" + cmiCore.getLessonMode().getValue() + "\n"); // todo:Suspend Data responseResult.append("[Core_Lesson]\n"); // todo:Launch Data responseResult.append("[[Core Vendor]]\n"); logger.info("responseResult = " + responseResult); HacpResponse.sendResult(req, resp, 0, responseResult.toString()); }