% /**
* **********************************************************@@ Program Name
* : doc_list.jsp Description : /Áý°èÀÚ/³»¹®¼ÇÔ/µî·ÏÇÔ/¹®¼ ¸ñ·Ï Author : ±âÇöÅ×Å© Create
* Date : 2010.11.27 History :
* @@***********************************************************
*/
%>
<%@ page contentType="text/html; charset=euc-kr"
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();
}
%>