modify_archive_success.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:1k
源码类别:
电子政务应用
开发平台:
Java
- <%@ page import="java.util.GregorianCalendar" %>
- <%@ page import="java.util.Calendar" %>
- <%@ page import="java.sql.Timestamp" %>
- <%@ page import="com.vnex.intranet.pub.BaseJdbcDAO" %>
- <%@ page import="com.vnex.intranet.util.TimeStamp" %>
- <jsp:useBean id="ar" scope="request" class="com.vnex.intranet.archives.value.ArchiveValueBean" />
- <jsp:useBean id="archiveProxy" scope="application" class="com.vnex.intranet.archives.proxy.ArchiveProxyBean" />
- <jsp:setProperty name="ar" property="*" />
- <%
- String archiveId = request.getParameter("archiveId");
- ar.setArchiveId((new Integer(archiveId)).intValue());
- if (request.getParameter("createTime").length() != 0)
- {
- String createDate = request.getParameter("createTime") + " 00:00:00";
- Timestamp time = TimeStamp.toTimestamp(createDate);
- ar.setCreateDate(TimeStamp.convertTimestampToCalendar(time));
- }
- System.out.println("" + ar.getFileSourceId());
- archiveProxy.modifyArchive(ar);
- %>
- <jsp:forward page="/mainctrl/archive/archiveDetail">
- <jsp:param name="archiveId" value="<%=archiveId%>" />
- </jsp:forward>