modify_leaveword_success.jsp

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

JSP
33
字号

<%@ 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.updateLeaveWord(lvb);
%>

<html>
<head>
<script language=javascript>
function forward()
{
	document.location = "/mainctrl/leaveword/home?start=<%=request.getParameter("start")%>";
}
</script>
</head>
<body onload="javascript:forward()">
</body>
<html>

⌨️ 快捷键说明

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