%
/************************************************************@@
* 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="javax.jdo.PersistenceManager" import="javax.jdo.Transaction"
import="kr.co.kihyun.beans.entity.util.*"%>
<%@ 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 **********/
String docForm = clearXSS(request.getParameter("docForm"),"");
Long docID = MLong.parseLong(request.getParameter("docID"),null);
TotDoc totDoc = null;
totDoc = docID == null ? null : pm.getObjectById(TotDoc.class, docID);
String docName = totDoc.getName();
%>
<%@page import="kr.co.kihyun.beans.entity.TotDoc"%>
<%=Moumi.getTitle()%>
|
|
|
<%@ 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();
}
%>