modify_leaveword_success.jsp
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:1k
源码类别:

电子政务应用

开发平台:

Java

  1. <%@ page errorPage="/vnex/ErrorPage.jsp" %>
  2. <%@ page import="com.vnex.intranet.util.*" %>
  3. <jsp:useBean id="lvb" scope="request" class="com.vnex.intranet.communication.leaveword.value.LeaveWordValueBean"/>
  4. <jsp:useBean id="leaveWordProxy" scope="application" class="com.vnex.intranet.communication.leaveword.proxy.LeaveWordProxyBean" />
  5. <jsp:useBean id="BusinessName" scope="session" class="com.vnex.intranet.pub.BusinessSession" />
  6. <jsp:setProperty name="lvb" property="*" />
  7. <%
  8.     if(request.getParameter("endDate") != null && !request.getParameter("endDate").equals(""))
  9.     {
  10.         String endDate = request.getParameter("endDate")+" 00:00:00";
  11.         lvb.setEndDate(TimeStamp.convertTimestampToCalendar(TimeStamp.toTimestamp(endDate)));
  12.     }
  13.     lvb.setEmpId(BusinessName.getEmpId());
  14.     leaveWordProxy.updateLeaveWord(lvb);
  15. %>
  16. <html>
  17. <head>
  18. <script language=javascript>
  19. function forward()
  20. {
  21. document.location = "/mainctrl/leaveword/home?start=<%=request.getParameter("start")%>";
  22. }
  23. </script>
  24. </head>
  25. <body onload="javascript:forward()">
  26. </body>
  27. <html>