reply_msg.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:1k
源码类别:
电子政务应用
开发平台:
Java
- <%@ 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>