equipment_savecondition.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:1k
源码类别:
电子政务应用
开发平台:
Java
- <%@ page import="java.lang.*"%>
- <%@ page import="java.util.Collection"%>
- <%@ page import="java.util.Iterator"%>
- <%@ page import="java.util.Vector"%>
- <%@ page import="java.sql.Timestamp"%>
- <%@ page import="com.vnex.intranet.util.TimeStamp"%>
- <%@ page import="com.vnex.intranet.equipment.value.UserValueBean"%>
- <jsp:useBean id="equipmentASValue" class="com.vnex.intranet.equipment.value.EquipmentValueBean" scope="session" />
- <jsp:setProperty name="equipmentASValue" property="*" />
- <%
- String link = "/mainctrl/categoryLeavesList?pageName" + request.getParameter("pageName");
- String repaired = request.getParameter("repaired");
- int i=-1;
- if (repaired == null || repaired.equals( "-1" ))
- i = -1;
- else if (repaired.equals( "1" ))
- i = 1;
- else if (repaired.equals( "0" ))
- i = 0;
- equipmentASValue.setRepaired(i);
- %>
- <jsp:forward page="<%= link%>" />