⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 reply_msg.jsp

📁 非常完整的Java开发的网络办公系统
💻 JSP
字号:
<%@ page errorPage="/vnex/ErrorPage.jsp" %>
<%@ page import="com.vnex.intranet.communication.message.value.MessageValueBean"%>

<jsp:useBean id="msgProxy" scope="application" class="com.vnex.intranet.communication.message.proxy.MessageProxyBean" />
<jsp:useBean id="mvb" scope="request" class="com.vnex.intranet.communication.message.value.MessageValueBean" />
<jsp:useBean id="BusinessName" scope="session" class="com.vnex.intranet.pub.BusinessSession" />

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

<%
    mvb.setSenderId(BusinessName.getEmpId());
    mvb.setEmpId(BusinessName.getEmpId());
    String msgTitle = request.getParameter("msgTitle");
    if(msgTitle.indexOf("回复") == -1)
       msgTitle = "回复:"+msgTitle;
    mvb.setMsgTitle(msgTitle);
    mvb.setIsSent(1);
    int[] receiverIds = new int[1];
    receiverIds[0] = Integer.parseInt(request.getParameter("senderId"));
    mvb.setReceiverIds(receiverIds);
    msgProxy.replyMessage(mvb);
%>

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

⌨️ 快捷键说明

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