% /************************************************************@@ * Program Name : doc_regist.jsp * Description : /Áý°èÀÚ/³»¹®¼ÇÔ/µî·ÏÇÔ/¹®¼ µî·Ï * Author : °¿øÁß * Create Date : 2004.10.11 * History : @@************************************************************/ %> <%@ page contentType="text/html; charset=euc-kr" import="java.net.URLEncoder" import="java.net.URLDecoder" import="kr.co.kihyun.beans.user.HttpSSOLogin" import="java.util.*" import="java.io.StringReader" import="javax.swing.text.html.parser.ParserDelegator" import="kr.co.kihyun.lang.Encoder" import="kr.co.kihyun.util.Stopwatch" import="kr.co.kihyun.text.html.TagFilter" import="kr.co.kihyun.text.html.ServletUtil" import="kr.co.kihyun.text.html.CallbackHandler" import="kr.co.kihyun.moumi.Moumi" import="kr.co.kihyun.moumi.doc.MDoc" import="kr.co.kihyun.moumi.doc.table.MTable" import="kr.co.kihyun.moumi.doc.table.TableDefine" import="kr.co.kihyun.moumi.doc.table.TableCreation" import="kr.co.kihyun.moumi.doc.table.item.MItem" import="kr.co.kihyun.lang.MInteger" import="kr.co.kihyun.lang.MLong" import="kr.co.kihyun.lang.MString" import="kr.co.kihyun.beans.totsys.report.Report" import="javax.jdo.PersistenceManager" import="javax.jdo.Transaction" import="kr.co.kihyun.beans.entity.util.*" import="kr.co.kihyun.beans.entity.TotDoc"%> <%@ include file="/totsys/common/inc/sec/secure.inc.jsp"%> <% PersistenceManager pm = new MPersistenceManager(PMF.get().getPersistenceManager()); Transaction tx = pm.currentTransaction(); try{ /*********** ¼Ò¿ä½Ã°£ üũ ***********/ Stopwatch stopwatch = new Stopwatch(); long startTime = stopwatch.start(); /********** session³»ÀÇ userId **********/ String usID = HttpSSOLogin.getLoginID(request); /********** parameter **********/ Long docForm = MLong.parseLong(request.getParameter("docForm"),null); Long docID = MLong.parseLong(request.getParameter("docID"),null); TotDoc totDoc = pm.getObjectById(TotDoc.class, docID); String docName = totDoc.getName(); Report report = new Report(); int allReportCount = report.getAllCount(docID); int sendReportCount = report.getSendCount(docID); %>