<% /************************************************************@@ * Program Name : doc_regist.jsp * Description : /집계자/내문서함/등록함/문서 등록 * Author : 강원중 * Create Date : 2004.10.11 * History : @@************************************************************/ %> <%@ page contentType="text/html; charset=UTF-8" 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); %> <%=Moumi.getTitle()%>
<%= Moumi.getMessageBundle().getString("moumi.message.button.formModify") %> <%= Moumi.getMessageBundle().getString("moumi.message.button.formPreference") %>
<%@ include file="/totsys/common/inc/buttom/buttom.jsp"%> <% }catch(Exception ex){ ex.printStackTrace(); out.println(kr.co.kihyun.text.html.ServletUtil.getJavaScript("location='/servlet/kr.co.kihyun.beans.user.HttpSSOLogin?mode=logout';")); }finally{ if(tx.isActive()) tx.rollback(); pm.close(); } %>