bulletin_publish_success.jsp

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

JSP
34
字号

<%@ page errorPage="/vnex/ErrorPage.jsp" %>
<%@ page import="com.vnex.intranet.util.*" %>

<jsp:useBean id="bvb" scope="request" class="com.vnex.intranet.communication.bulletin.value.BulletinValueBean"/>
<jsp:useBean id="bulletinProxy" scope="application" class="com.vnex.intranet.communication.bulletin.proxy.BulletinProxyBean" />
<jsp:useBean id="BusinessName" scope="session" class="com.vnex.intranet.pub.BusinessSession" />

<jsp:setProperty name="bvb" property="*" />

<%
    if(request.getParameter("endDate") != null && !request.getParameter("endDate").equals(""))
    {
        String endDate = request.getParameter("endDate")+" 00:00:00";
        bvb.setEndDate(TimeStamp.convertTimestampToCalendar(TimeStamp.toTimestamp(endDate)));
    }
    bvb.setCreatorId(BusinessName.getEmpId());
    bvb.setDeptId(BusinessName.getDeptId());
    bulletinProxy.publishBulletin(bvb);
%>

<html>
<head>
<script language=javascript>
function forward()
{
	document.location = "/mainctrl/bulletin/home?home";
}
</script>
</head>
<body onload="javascript:forward()">
</body>
<html>

⌨️ 快捷键说明

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