
<%
/************************************************************@@
  * Program Name	: doc_regist.jsp
  * Description		: /집계자/내문서함/등록함/문서 등록
  * Author				: 강원중
  * Create Date		: 2004.10.11
  * History				:
@@************************************************************/
%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ 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.MString"%>

<%@ include file="/totsys/common/inc/sec/secure.inc.jsp"%>

<%
try{
	/********** session내의 userId **********/
	String usID = HttpSSOLogin.getLoginID(request);

	/********** parameter **********/
	String docID = clearXSS(MString.checkNull(request.getParameter("docID")),"");
	String deptID = clearXSS(MString.checkNull(request.getParameter("deptID")),"");
	String tableCount = clearXSS(MString.checkNull(request.getParameter("tableCount")),"");
	String itemNames = clearXSS(MString.checkNull(request.getParameter("itemNames")),"");
	String itemSizes = clearXSS(MString.checkNull(request.getParameter("itemSizes")),"");
	String itemDescs = clearXSS(MString.checkNull(request.getParameter("itemDescs")),"");
	String itemExprs = clearXSS(MString.checkNull(request.getParameter("itemExprs")),"");
	String itemTypes = clearXSS(MString.checkNull(request.getParameter("itemTypes")),"");
	String colNums = clearXSS(MString.checkNull(request.getParameter("colNums")),"");
	String rowNums = clearXSS(MString.checkNull(request.getParameter("rowNums")),"");
	String tableNums = clearXSS(MString.checkNull(request.getParameter("tableNums")),"");
	String tableTypes = clearXSS(MString.checkNull(request.getParameter("tableTypes")),"");
	String backDash = clearXSS(MString.checkNull(request.getParameter("backDash")),"");
	String tableDefines = clearXSS(MString.checkNull(request.getParameter("tableDefines")),"");
	String mode = clearXSS(MString.checkNull(request.getParameter("mode")),"");
	String tmpDefItemSize = clearXSS(MString.checkNull(request.getParameter("tmpDefItemSize")),"");
	String defItemSize = clearXSS(MString.checkNull(request.getParameter("defItemSize")),"");
	
	%>

<!------------------------------- top menu start ------------------------------->
<jsp:include page="/totsys/common/inc/totper/top/top.jsp" flush="true" />
<!------------------------------- top menu end ------------------------------->

<!-- 뉴타이틀 -->
<jsp:include page="/totsys/common/inc/title/title.jsp" flush="true" />
<!-- 뉴타이틀 -->

<!------------------------------- form config start ------------------------------->
<jsp:include
	page="/totsys/common/web/documents/tot_doc/modify_inform_preview.jsp"
	flush="true">
	<jsp:param name="docID" value="<%= docID %>" />
	<jsp:param name="deptID" value="<%= deptID %>" />
	<jsp:param name="tableCount" value="<%= tableCount %>" />
	<jsp:param name="itemNames" value="<%= itemNames %>" />
	<jsp:param name="itemSizes" value="<%= itemSizes %>" />
	<jsp:param name="itemDescs" value="<%= itemDescs %>" />
	<jsp:param name="itemExprs" value="<%= itemExprs %>" />
	<jsp:param name="itemTypes" value="<%= itemTypes %>" />
	<jsp:param name="colNums" value="<%= colNums %>" />
	<jsp:param name="rowNums" value="<%= rowNums %>" />
	<jsp:param name="tableNums" value="<%= tableNums %>" />
	<jsp:param name="tableTypes" value="<%= tableTypes %>" />
	<jsp:param name="backDash" value="<%= backDash %>" />
	<jsp:param name="tableDefines" value="<%= tableDefines %>" />
	<jsp:param name="mode" value="<%= mode %>" />
	<jsp:param name="tmpDefItemSize" value="<%= tmpDefItemSize %>" />
	<jsp:param name="defItemSize" value="<%= defItemSize %>" />
</jsp:include>

<%
}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{
}
%>
