write_leaveword_success.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:1k
源码类别:
电子政务应用
开发平台:
Java
- <%@ page errorPage="/vnex/ErrorPage.jsp" %>
- <%@ page import="com.vnex.intranet.util.*" %>
- <jsp:useBean id="lvb" scope="request" class="com.vnex.intranet.communication.leaveword.value.LeaveWordValueBean"/>
- <jsp:useBean id="leaveWordProxy" scope="application" class="com.vnex.intranet.communication.leaveword.proxy.LeaveWordProxyBean" />
- <jsp:useBean id="BusinessName" scope="session" class="com.vnex.intranet.pub.BusinessSession" />
- <jsp:setProperty name="lvb" property="*" />
- <%
- if(request.getParameter("endDate") != null && !request.getParameter("endDate").equals(""))
- {
- String endDate = request.getParameter("endDate")+" 00:00:00";
- lvb.setEndDate(TimeStamp.convertTimestampToCalendar(TimeStamp.toTimestamp(endDate)));
- }
- lvb.setEmpId(BusinessName.getEmpId());
- leaveWordProxy.writeLeaveWord(lvb);
- %>
- <html>
- <head>
- <script language=javascript>
- function forward()
- {
- document.location = "/mainctrl/leaveword/home";
- }
- </script>
- </head>
- <body onload="javascript:forward()">
- </body>
- <html>