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

电子政务应用

开发平台:

Java

  1. <%@ page import="java.lang.*"%>
  2. <%@ page import="java.util.Collection"%>
  3. <%@ page import="java.util.Iterator"%>
  4. <%@ page import="java.util.Vector"%>
  5. <%@ page import="java.sql.Timestamp"%>
  6. <%@ page import="com.vnex.intranet.util.TimeStamp"%>
  7. <%@ page import="com.vnex.intranet.equipment.value.UserValueBean"%>
  8. <jsp:useBean id="equipmentASValue" class="com.vnex.intranet.equipment.value.EquipmentValueBean" scope="session" /> 
  9. <jsp:setProperty name="equipmentASValue" property="*" />
  10. <%  
  11.     String link = "/mainctrl/categoryLeavesList?pageName" + request.getParameter("pageName");
  12.     String repaired = request.getParameter("repaired");    
  13.     int i=-1;
  14.     if (repaired == null || repaired.equals( "-1" ))
  15.      i = -1;
  16.     else if (repaired.equals( "1" ))
  17.      i = 1;    
  18.     else if (repaired.equals( "0" ))
  19.      i = 0;
  20.     
  21.     equipmentASValue.setRepaired(i);
  22. %>
  23. <jsp:forward page="<%= link%>" />