return_archive.jsp
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:1k
源码类别:

电子政务应用

开发平台:

Java

  1. <%@ page errorPage="/vnex/ErrorPage.jsp" %>
  2. <%@ page import="com.vnex.intranet.archives.value.*" %>
  3. <jsp:useBean id="BusinessName" scope="session" class="com.vnex.intranet.pub.BusinessSession" />
  4. <jsp:useBean id="borrowProxy" scope="application" class="com.vnex.intranet.archives.proxy.BorrowProxyBean" />
  5. <jsp:useBean id="rrvb" scope="request" class="com.vnex.intranet.archives.value.ReturnRecordValueBean" />
  6. <jsp:useBean id="returnProxy" scope="application" class="com.vnex.intranet.archives.proxy.ReturnProxyBean" />
  7. <jsp:setProperty name="rrvb" property="description" />
  8. <%
  9.     int borrowId = Integer.parseInt(request.getParameter("borrowId"));
  10.     rrvb.setBorrowId(borrowId);
  11.     BorrowRecordValueBean brvb = borrowProxy.getBorrowArchiveDetail(borrowId);
  12.     rrvb.setBorrowerId(brvb.getBorrowerId());
  13.     rrvb.setReceiverId(BusinessName.getEmpId());
  14.     rrvb.setArchiveId(brvb.getArchiveId());
  15.     returnProxy.registerReturnArchive(rrvb);
  16. %>
  17. <html>
  18. <head>
  19. <script language=javascript>
  20. function forward()
  21. {
  22. document.location = "/mainctrl/archive/returnArchiveList";
  23. }
  24. </script>
  25. </head>
  26. <body onload="javascript:forward()">
  27. </body>
  28. <html>