bulletin_unpublish.jsp

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

JSP
36 行
字号

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

<jsp:useBean id="bulletinProxy" scope="application" class="com.vnex.intranet.communication.bulletin.proxy.BulletinProxyBean" />

<%
    if(request.getParameter("bulletinId") != null)
    {
       int bulletinId = Integer.parseInt(request.getParameter("bulletinId"));
       bulletinProxy.unpublishFromScrollText(bulletinId);
    }
    else
    {
       String[] bulletinIds = request.getParameterValues("bulletinIds");
       if(bulletinIds != null)
       {
          for(int i=0;i<bulletinIds.length;i++)
             bulletinProxy.unpublishFromScrollText(Integer.parseInt(bulletinIds[i]));
       }
    }   
%>

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

⌨️ 快捷键说明

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