office_document_received_createok.jsp

来自「非常完整的Java开发的网络办公系统」· JSP 代码 · 共 31 行

JSP
31
字号

<%@ page errorPage="/vnex/ErrorPage.jsp" %>
<%@ page import="java.util.*" %>
<%@ page import="java.sql.Timestamp" %>
<%@ page import="com.vnex.intranet.workflow.document.value.*" %>
<%@ page import="com.vnex.intranet.workflow.pub.value.WorkflowFileValueBean" %>
<%@ page import="com.vnex.intranet.util.*" %>

<jsp:useBean id="drvb" scope="request" class="com.vnex.intranet.workflow.document.value.DocumentReceivedValueBean"/>
<jsp:useBean id="documentProxy" scope="application" class="com.vnex.intranet.workflow.document.proxy.DocumentProxyBean" />
<jsp:useBean id="BusinessName" scope="session" class="com.vnex.intranet.pub.BusinessSession" />
<%
    drvb = ( DocumentReceivedValueBean )session.getAttribute( "recieveddocument" );
%>
<jsp:setProperty name="drvb" property="*" />

<%                                 
    drvb.setCreatorId( BusinessName.getEmpId() );
    
    String dtype = request.getParameter("type");
    drvb.setType( DocumentReceivedType.getInstance( Integer.parseInt(dtype) ) );
    
    String stype = request.getParameter("securityType");
    drvb.setSecurityType( SecurityType.getInstance( Integer.parseInt(stype) ) );
    
    documentProxy.createReceivedDoc( drvb );
    session.removeAttribute( "recieveddocument" );
%>

<jsp:forward page="/mainctrl/office/document/receivedlist?type=2" />

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?