% /**
* **********************************************************@@ Program Name
* : doc_list.jsp Description : /집계자/내문서함/등록함/문서 목록 Author : 기현테크 Create
* Date : 2010.11.27 History :
* @@***********************************************************
*/
%>
<%@ page contentType="text/html; charset=UTF-8"
import="kr.co.kihyun.lang.MLong"
import="kr.co.kihyun.lang.MInteger"
import="kr.co.kihyun.lang.MString"
import="kr.co.kihyun.moumi.Moumi"
import="java.net.URLDecoder"
import="kr.co.kihyun.beans.entity.*"
import="javax.jdo.PersistenceManager"
import="javax.jdo.Transaction"
import="kr.co.kihyun.beans.user.HttpSSOLogin"
import="kr.co.kihyun.beans.user.DeptAdd"
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 {
String usID = HttpSSOLogin.getLoginID(request);
String dtID = HttpSSOLogin.getDeptID(request);
DeptAdd dept = new DeptAdd();
int grade = dept.getGrade(usID, dtID);
int foundation = dept.getFoundation(usID, dtID);
/**
* ***** Parameter ********
*/
Long reportID = MLong.parseLong(request.getParameter("reportID"));
int tmp1 = MInteger.parseInt(request.getParameter("tmp1"), 0); //기본정보 표출을 위한 변수
tx.begin();
TotReport totReport = pm.getObjectById(TotReport.class, reportID);
%>
<%=Moumi.getMessageBundle().getString("moumi.message.tot_report.submit")%><%=Moumi.getMessageBundle().getString("moumi.message.tot_doc.person")%><%=Moumi.getMessageBundle().getString("moumi.message.tot_doc.info")%>
|
|
|
<%
tx.rollback();
} catch (Exception ex) {
ex.printStackTrace();
} finally {
if (tx.isActive()) {
tx.rollback();
}
pm.close();
}
%>