return_archive.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:1k
源码类别:
电子政务应用
开发平台:
Java
- <%@ page errorPage="/vnex/ErrorPage.jsp" %>
- <%@ page import="com.vnex.intranet.archives.value.*" %>
- <jsp:useBean id="BusinessName" scope="session" class="com.vnex.intranet.pub.BusinessSession" />
- <jsp:useBean id="borrowProxy" scope="application" class="com.vnex.intranet.archives.proxy.BorrowProxyBean" />
- <jsp:useBean id="rrvb" scope="request" class="com.vnex.intranet.archives.value.ReturnRecordValueBean" />
- <jsp:useBean id="returnProxy" scope="application" class="com.vnex.intranet.archives.proxy.ReturnProxyBean" />
- <jsp:setProperty name="rrvb" property="description" />
- <%
- int borrowId = Integer.parseInt(request.getParameter("borrowId"));
- rrvb.setBorrowId(borrowId);
- BorrowRecordValueBean brvb = borrowProxy.getBorrowArchiveDetail(borrowId);
- rrvb.setBorrowerId(brvb.getBorrowerId());
- rrvb.setReceiverId(BusinessName.getEmpId());
- rrvb.setArchiveId(brvb.getArchiveId());
- returnProxy.registerReturnArchive(rrvb);
- %>
- <html>
- <head>
- <script language=javascript>
- function forward()
- {
- document.location = "/mainctrl/archive/returnArchiveList";
- }
- </script>
- </head>
- <body onload="javascript:forward()">
- </body>
- <html>